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