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

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.

C

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

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
 
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.
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.
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.
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.

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
 
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.
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
 
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
 
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.
isRequestAlreadyHooked(HttpServerRequest) - Method in class org.swisspush.gateleen.hook.HookHandler
Checks if the original Request was already hooked.

L

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.
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
 

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

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.
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.
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.
size() - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Returns the size of the repository.
size() - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
A C E F G H I L O R S 
Skip navigation links