A C D E G H I M O P S W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String, Supplier<Dispatcher>) - Method in class org.elypia.webhooker.DispatcherSupplier
-
Add a dispatcher to map serialized clients dispatchers to.
- add(UUID, Dispatcher...) - Method in interface org.elypia.webhooker.controller.ClientController
-
Create a new client.
- add(Client) - Method in interface org.elypia.webhooker.controller.ClientController
-
Add a new client to this controller.
- add(Client) - Method in class org.elypia.webhooker.controller.MapClientController
-
Add an existing client to the client pool.
- add(Dispatcher) - Method in class org.elypia.webhooker.DispatcherSupplier
-
Add a singleton dispatcher, this will not instantiate a new dispatcher when required but reuse the same one throughout the application lifetime.
- add(Dispatcher...) - Method in interface org.elypia.webhooker.controller.ClientController
-
Create a new client.
- addCallbacks(Dispatcher...) - Method in class org.elypia.webhooker.Client
C
- Client - Class in org.elypia.webhooker
- Client(String, Dispatcher...) - Constructor for class org.elypia.webhooker.Client
- Client(UUID, List<Dispatcher>) - Constructor for class org.elypia.webhooker.Client
- Client(UUID, Dispatcher...) - Constructor for class org.elypia.webhooker.Client
- Client(Dispatcher...) - Constructor for class org.elypia.webhooker.Client
- ClientController - Interface in org.elypia.webhooker.controller
-
This interface allows an application to flexibly decide how clients are managed, they could be in memory like the
MapClientController, in a database, or Redis, whatever is best fit for the application(s) being developed. - close() - Method in class org.elypia.webhooker.Webhooker
D
- dispatch(Payload) - Method in interface org.elypia.webhooker.Dispatcher
-
A callback to handle this payload, the response of this object is returned to the service that made the POST request.
- Dispatcher - Interface in org.elypia.webhooker
-
Multiple dispatchers can be assigned to a client dispatchers are how webhook payloads are handled by Webhooker.
- DispatcherSupplier - Class in org.elypia.webhooker
-
This is a means to manage and supply dispatchers to your
ClientControllerthat serialize or deseralize the client instances. - DispatcherSupplier() - Constructor for class org.elypia.webhooker.DispatcherSupplier
E
- equals(Object) - Method in class org.elypia.webhooker.Client
G
- get(String) - Method in interface org.elypia.webhooker.controller.ClientController
- get(String) - Method in class org.elypia.webhooker.DispatcherSupplier
-
Get an instance of a Dispatcher of which it's supplier was added.
- get(UUID) - Method in interface org.elypia.webhooker.controller.ClientController
-
Get a client by UUID.
- get(UUID) - Method in class org.elypia.webhooker.controller.MapClientController
- getAll() - Method in interface org.elypia.webhooker.controller.ClientController
- getAll() - Method in class org.elypia.webhooker.controller.MapClientController
- getCallbacks() - Method in class org.elypia.webhooker.Client
- getClient() - Method in class org.elypia.webhooker.Payload
- getController() - Method in class org.elypia.webhooker.Webhooker
- getGson() - Method in class org.elypia.webhooker.Webhooker
- getId() - Method in interface org.elypia.webhooker.Dispatcher
- getPublicUrl() - Method in class org.elypia.webhooker.Webhooker
- getPublicUrl(Client) - Method in class org.elypia.webhooker.Webhooker
- getRequest() - Method in class org.elypia.webhooker.Payload
- getRequestBody(Class<T>) - Method in class org.elypia.webhooker.Payload
- getResponse() - Method in class org.elypia.webhooker.Payload
- getRoute() - Method in class org.elypia.webhooker.Webhooker
- getSupplier() - Method in class org.elypia.webhooker.controller.SuppliedClientController
- getUuid() - Method in class org.elypia.webhooker.Client
H
- handle(Request, Response) - Method in class org.elypia.webhooker.WebhookRoute
-
Handle a POST request made to this webserver.
I
- iterator() - Method in interface org.elypia.webhooker.controller.ClientController
- iterator() - Method in class org.elypia.webhooker.controller.MapClientController
M
- MapClientController - Class in org.elypia.webhooker.controller
- MapClientController() - Constructor for class org.elypia.webhooker.controller.MapClientController
O
- org.elypia.webhooker - package org.elypia.webhooker
- org.elypia.webhooker.controller - package org.elypia.webhooker.controller
P
- Payload - Class in org.elypia.webhooker
-
An event object in Webhooker, this contains the
Client,Request, andResponseassociated with a payload to a valid client. - Payload(Gson, Client, Request, Response) - Constructor for class org.elypia.webhooker.Payload
S
- setResponseBody(T) - Method in class org.elypia.webhooker.Payload
- SuppliedClientController - Class in org.elypia.webhooker.controller
-
Small abstraction,
ClientControllerthat require theDispatcherSuppliercan extend this class instead which will prep it for obtaining Dispatchers from a (de)serializeddispatcher ID. - SuppliedClientController() - Constructor for class org.elypia.webhooker.controller.SuppliedClientController
- SuppliedClientController(DispatcherSupplier) - Constructor for class org.elypia.webhooker.controller.SuppliedClientController
- supplier - Variable in class org.elypia.webhooker.controller.SuppliedClientController
W
- Webhooker - Class in org.elypia.webhooker
-
This class should be used as a singleton.
- Webhooker(String) - Constructor for class org.elypia.webhooker.Webhooker
- Webhooker(String, int) - Constructor for class org.elypia.webhooker.Webhooker
- Webhooker(String, int, ClientController) - Constructor for class org.elypia.webhooker.Webhooker
- Webhooker(String, int, ClientController, Gson) - Constructor for class org.elypia.webhooker.Webhooker
-
Create an instance of Webhooker.
- WebhookRoute - Class in org.elypia.webhooker
-
The route to register to
Sparkfor webhooks toPOSTto. - WebhookRoute(Webhooker) - Constructor for class org.elypia.webhooker.WebhookRoute
All Classes All Packages