public class DiagnosticEndPoint extends RestEndpoint
uri
Constructor and Description |
---|
DiagnosticEndPoint(RestSoftAPConnector restSoftAPConnector)
Instantiates a
DiagnosticEndPoint . |
Modifier and Type | Method and Description |
---|---|
HTTPResponse |
get(HTTPRequest request,
Map<String,String> headers,
Map<String,String> parameters)
Handles
GET request on this endpoint. |
delete, getURI, post, put
public DiagnosticEndPoint(RestSoftAPConnector restSoftAPConnector) throws IllegalArgumentException
DiagnosticEndPoint
.restSoftAPConnector
- the connector.IllegalArgumentException
- if the URI is invalid.public HTTPResponse get(HTTPRequest request, Map<String,String> headers, Map<String,String> parameters)
RestEndpoint
GET
request on this endpoint.
Default implementation return a a status code 501
get
in class RestEndpoint
request
- the request to handle.headers
- request headers.parameters
- parsed query and body parameters.