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