Skip navigation links
A C E F G H I L O Q R S T V 

A

addListener(Listener) - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Adds a listener to the repository.
addListener(Listener) - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
addRoute(String, Route) - Method in class org.swisspush.gateleen.hook.LocalRouteRepository
 
addRoute(String, Route) - Method in interface org.swisspush.gateleen.hook.RouteRepository
Adds a route for the given url pattern.
addStaticHeaders(Map<String, String>) - Method in class org.swisspush.gateleen.hook.HttpHook
Adds a new map with static headers.

C

cleanup() - Method in class org.swisspush.gateleen.hook.Route
Closes the http client of the route.
COLLECTION - Static variable in class org.swisspush.gateleen.hook.HookHandler
 

E

EXPIRATION_TIME - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
EXPIRE_AFTER - Static variable in class org.swisspush.gateleen.hook.HookHandler
 

F

findListeners(String) - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Searches for listeners corresponding to the given url.
findListeners(String, String) - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Searches for listeners corresponding to the given url and the used http method.
findListeners(String) - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
findListeners(String, String) - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
forward(HttpServerRequest, Buffer) - Method in class org.swisspush.gateleen.hook.Route
Handles the request (consumed) and forwards it to the hook specific destination.
forward(HttpServerRequest) - Method in class org.swisspush.gateleen.hook.Route
Handles the request and forwards it to the hook specific destination.
FULL_URL - Static variable in class org.swisspush.gateleen.hook.HookHandler
 

G

get(T, String) - Method in class org.swisspush.gateleen.hook.ListenerRepositoryBase
Returns a set with listeners monitoring the given url.
get(Map<String, Set<Listener>>, String) - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
getCollections(String) - Method in class org.swisspush.gateleen.hook.LocalRouteRepository
 
getCollections(String) - Method in interface org.swisspush.gateleen.hook.RouteRepository
Returns a set with collections (routes) contained in the given parent.
getDestination() - Method in class org.swisspush.gateleen.hook.HttpHook
The destination of the hook.
getExpirationTime() - Method in class org.swisspush.gateleen.hook.HttpHook
Returns the expiration time of this hook.
getExpireAfter() - Method in class org.swisspush.gateleen.hook.HttpHook
Gets the expiry (x-expire-after header) for the requests send to the listener.
getExpireAfter() - Method in class org.swisspush.gateleen.hook.Listener
Returns the expire after time, for the request header.
getFilter() - Method in class org.swisspush.gateleen.hook.HttpHook
Returns the precompiled pattern, to match a given url.
getHook() - Method in class org.swisspush.gateleen.hook.Listener
Returns the hook of this listener.
getHook() - Method in class org.swisspush.gateleen.hook.Route
Returns the hook associated with this route.
getHookTriggerType() - Method in class org.swisspush.gateleen.hook.HttpHook
Retuns the trigger type of the hook.
getListener() - Method in class org.swisspush.gateleen.hook.Listener
Returns the listener segment of the url.
getListenerId() - Method in class org.swisspush.gateleen.hook.Listener
Returns the listener id (eg. http/colin/123)
getListeners() - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Returns a copy of all registred listeners.
getListeners() - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
getMethods() - Method in class org.swisspush.gateleen.hook.HttpHook
Returns the methods which should pass the hook.
getMonitoredUrl() - Method in class org.swisspush.gateleen.hook.Listener
Returns the url the listener is hooked up.
getQueueExpireAfter() - Method in class org.swisspush.gateleen.hook.HttpHook
Gets the expiry (x-queue-expire-after header) for the requests in the queue send to the listener.
getRoute(String) - Method in class org.swisspush.gateleen.hook.LocalRouteRepository
 
getRoute(String) - Method in interface org.swisspush.gateleen.hook.RouteRepository
Returns the route which is foreseen for the given url.
getRoutes() - Method in class org.swisspush.gateleen.hook.LocalRouteRepository
 
getRoutes() - Method in interface org.swisspush.gateleen.hook.RouteRepository
Returns a copy of all routes.
getStaticHeaders() - Method in class org.swisspush.gateleen.hook.HttpHook
Returns the map with the static headers for this hook.
getUniqueListenerId(String) - Method in class org.swisspush.gateleen.hook.HookHandler
Creates a listener id, which is unique for the given service, and the monitored url.

H

handle(HttpServerRequest) - Method in class org.swisspush.gateleen.hook.HookHandler
Handles requests, which are either listener or route related.
HOOK - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
HOOK_ROUTES_LISTED - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
HOOK_TRIGGER_TYPE - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
HOOKED_HEADER - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
HookHandler - Class in org.swisspush.gateleen.hook
The HookHandler is responsible for un- and registering hooks (listener, as well as routes).
HookHandler(Vertx, HttpClient, ResourceStorage, LoggingResourceManager, MonitoringHandler, String, String) - Constructor for class org.swisspush.gateleen.hook.HookHandler
Creates a new HookHandler.
HookHandler(Vertx, HttpClient, ResourceStorage, LoggingResourceManager, MonitoringHandler, String, String, RequestQueue) - Constructor for class org.swisspush.gateleen.hook.HookHandler
Creates a new HookHandler.
HookHandler(Vertx, HttpClient, ResourceStorage, LoggingResourceManager, MonitoringHandler, String, String, RequestQueue, boolean) - Constructor for class org.swisspush.gateleen.hook.HookHandler
Creates a new HookHandler.
HOOKS_LISTENERS_URI_PART - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
HOOKS_ROUTE_URI_PART - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
HookTriggerType - Enum in org.swisspush.gateleen.hook
Defines the possible types when a trigger could be fired.
HttpHook - Class in org.swisspush.gateleen.hook
Represents a hook.
HttpHook(String) - Constructor for class org.swisspush.gateleen.hook.HttpHook
Creates a new hook.

I

init() - Method in class org.swisspush.gateleen.hook.HookHandler
 
isCollection() - Method in class org.swisspush.gateleen.hook.HttpHook
Indicates if a hook points to a collection (default: true) or not.
isEmpty() - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Returns whether the repository is empty or not.
isEmpty() - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
isFullUrl() - Method in class org.swisspush.gateleen.hook.HttpHook
Returns whether the hook forwards using the full initial url or only the appendix.
isListable() - Method in class org.swisspush.gateleen.hook.HttpHook
Indicates if a route hook should be listed for a GET request or not.
isRequestAlreadyHooked(HttpServerRequest) - Method in class org.swisspush.gateleen.hook.HookHandler
Checks if the original Request was already hooked.

L

LISTABLE - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
Listener - Class in org.swisspush.gateleen.hook
Represents a listener.
Listener(String, String, String, HttpHook) - Constructor for class org.swisspush.gateleen.hook.Listener
Creates a new instance of a HookListener.
LISTENER_QUEUE_PREFIX - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
ListenerRepository - Interface in org.swisspush.gateleen.hook
A repository for listener hooks.
ListenerRepositoryBase<T> - Class in org.swisspush.gateleen.hook
Abstrac base class for all ListenerRepositires.
ListenerRepositoryBase() - Constructor for class org.swisspush.gateleen.hook.ListenerRepositoryBase
 
LocalListenerRepository - Class in org.swisspush.gateleen.hook
Local in-memory implementation of a LocalListenerRepository.
LocalListenerRepository() - Constructor for class org.swisspush.gateleen.hook.LocalListenerRepository
Creates a new instance of the local in-memory LocalHookListenerRepository.
LocalRouteRepository - Class in org.swisspush.gateleen.hook
Local in-memory implementation of a RouteRepository.
LocalRouteRepository() - Constructor for class org.swisspush.gateleen.hook.LocalRouteRepository
Creates a new instance of a local in-memory HookRouteRepository.

O

org.swisspush.gateleen.hook - package org.swisspush.gateleen.hook
 

Q

QUEUE_EXPIRE_AFTER - Static variable in class org.swisspush.gateleen.hook.HookHandler
 

R

removeListener(String) - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Removes the listener for the given listenerId.
removeListener(String) - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
removeRoute(String) - Method in class org.swisspush.gateleen.hook.LocalRouteRepository
 
removeRoute(String) - Method in interface org.swisspush.gateleen.hook.RouteRepository
Removes the route for the url pattern.
REQUESTURL - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
Route - Class in org.swisspush.gateleen.hook
Represents a Route for a specific hook.
Route(Vertx, ResourceStorage, LoggingResourceManager, MonitoringHandler, String, HttpHook, String) - Constructor for class org.swisspush.gateleen.hook.Route
Creates a new instance of a Route.
RouteRepository - Interface in org.swisspush.gateleen.hook
A repository for routes of hooks.
RouteRepositoryBase<T> - Class in org.swisspush.gateleen.hook
Abstract base class for the hook repositories.
RouteRepositoryBase() - Constructor for class org.swisspush.gateleen.hook.RouteRepositoryBase
 

S

setCollection(boolean) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets if a hook points to a collection (default: true) or not.
setDestination(String) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the destination of the hook.
setExpirationTime(LocalDateTime) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the expiration time of this hook.
setExpireAfter(int) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the expiry (x-expire-after header) for the requests send to the listener.
setExpireAfter(Integer) - Method in class org.swisspush.gateleen.hook.Listener
Sets the expire after time, for the request header.
setFilter(String) - Method in class org.swisspush.gateleen.hook.HttpHook
Set a regexp to filter the hook.
setFullUrl(boolean) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets whether the hook forwards using the full initial url or only the appendix.
setHook(HttpHook) - Method in class org.swisspush.gateleen.hook.Listener
Sets the hook of this listener.
setHookTriggerType(HookTriggerType) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the trigger type of the hook.
setListable(boolean) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets if a route hook should be listed for a GET request or not.
setListener(String) - Method in class org.swisspush.gateleen.hook.Listener
Sets the listener segment of the url.
setListenerId(String) - Method in class org.swisspush.gateleen.hook.Listener
Sets the listener id (eg. http/colin/123).
setMethods(List<String>) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the methods which should pass the hook.
setMonitoredUrl(String) - Method in class org.swisspush.gateleen.hook.Listener
Sets the url the listener is hooked up.
setQueueExpireAfter(int) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the expiry (x-queue-expire-after header) for the requests in the queue send to the listener.
size() - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Returns the size of the repository.
size() - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
STATIC_HEADERS - Static variable in class org.swisspush.gateleen.hook.HookHandler
 

T

text() - Method in enum org.swisspush.gateleen.hook.HookTriggerType
 

V

valueOf(String) - Static method in enum org.swisspush.gateleen.hook.HookTriggerType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.swisspush.gateleen.hook.HookTriggerType
Returns an array containing the constants of this enum type, in the order they are declared.
A C E F G H I L O Q R S T V 
Skip navigation links