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 | Class and Description |
---|---|
class |
WebhookEventProvider<T extends RuntimePlatform,H extends RestHandler>
A specialised
RuntimeEventProvider that handles Rest requests sent by the XatkitServer . |
Modifier and Type | Class and Description |
---|---|
class |
EmptyContentRestHandler
A handler that receives HTTP requests with empty content and process them.
|
class |
JsonRestHandler
A handler that receives HTTP requests containing JSON and process them.
|
Modifier and Type | Method and Description |
---|---|
RestHandler |
XatkitServer.getRegisteredRestHandler(HttpMethod httpMethod,
String uri)
|
Modifier and Type | Method and Description |
---|---|
Collection<RestHandler> |
XatkitServer.getRegisteredRestHandlers()
Returns a
Collection containing the registered RestHandler s. |
Modifier and Type | Method and Description |
---|---|
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.