public interface Endpoint
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the endpoint corresponding to the command it responds.
|
void |
readRequestBody(CommandReader commandReader) |
void |
writeResponseBody(CommandSender commandSender) |
String getName()
void readRequestBody(CommandReader commandReader) throws IOException
IOExceptionvoid writeResponseBody(CommandSender commandSender) throws IOException
IOException