Package | Description |
---|---|
com.xatkit.core.platform.io |
Contains the abstract classes to implement to provide custom platform's input provider.
|
com.xatkit.core.server |
Contains the Xatkit server implementation.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
WebhookEventProvider.getEndpointMethod()
Returns the
HttpMethod of the REST endpoint to register the provided to. |
Modifier and Type | Method and Description |
---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
RestHandler |
XatkitServer.getRegisteredRestHandler(HttpMethod httpMethod,
String uri)
|
boolean |
XatkitServer.isRestEndpoint(HttpMethod httpMethod,
String uri)
Returns whether the provided
httpMethod on the given uri is associated to a REST endpoint. |
Object |
XatkitServer.notifyRestHandler(HttpMethod httpMethod,
String uri,
List<org.apache.http.Header> headers,
List<org.apache.http.NameValuePair> params,
Object content,
String contentType)
Notifies the REST endpoint associated with the provided
uri . |
void |
XatkitServer.registerRestEndpoint(HttpMethod httpMethod,
String uri,
RestHandler handler)
Registers the provided
handler as a REST endpoint for the provided uri . |
Copyright © 2020 SOM Research Lab. All rights reserved.