Skip navigation links
A B C D E F G H I L M O P 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
 
addQueue(String, long) - Method in class org.swisspush.gateleen.hook.reducedpropagation.impl.RedisReducedPropagationStorage
 
addQueue(String, long) - Method in interface org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationStorage
 
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.

B

buildQueueStrategy(JsonObject) - Static method in class org.swisspush.gateleen.hook.queueingstrategy.QueueingStrategyFactory
Returns a QueueingStrategy based on the provided hookConfiguration.

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
 

D

DefaultQueueingStrategy - Class in org.swisspush.gateleen.hook.queueingstrategy
QueueingStrategy implementation used when no explicit (or an invalid) 'queueingStrategy' is configured in the hook configuration
DefaultQueueingStrategy() - Constructor for class org.swisspush.gateleen.hook.queueingstrategy.DefaultQueueingStrategy
 
DISCARD_PAYLOAD - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
DiscardPayloadQueueingStrategy - Class in org.swisspush.gateleen.hook.queueingstrategy
QueueingStrategy implementation used when the payload of queued requests should be discarded.
DiscardPayloadQueueingStrategy() - Constructor for class org.swisspush.gateleen.hook.queueingstrategy.DiscardPayloadQueueingStrategy
 

E

enableResourceLogging(boolean) - Method in class org.swisspush.gateleen.hook.HookHandler
 
exec(int) - Method in class org.swisspush.gateleen.hook.reducedpropagation.lua.RemoveExpiredQueuesRedisCommand
 
exec(int) - Method in class org.swisspush.gateleen.hook.reducedpropagation.lua.StartQueueTimerRedisCommand
 
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.
getFilename() - Method in enum org.swisspush.gateleen.hook.reducedpropagation.lua.ReducedPropagationLuaScripts
 
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.
getPropagationIntervalMs() - Method in class org.swisspush.gateleen.hook.queueingstrategy.ReducedPropagationQueueingStrategy
The propagation interval in milliseconds
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.
getQueueingStrategy() - Method in class org.swisspush.gateleen.hook.HttpHook
Returns the queueing strategy for the hook
getQueueRequest(String) - Method in class org.swisspush.gateleen.hook.reducedpropagation.impl.RedisReducedPropagationStorage
 
getQueueRequest(String) - Method in interface org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationStorage
 
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
 
HookHandler(Vertx, HttpClient, ResourceStorage, LoggingResourceManager, MonitoringHandler, String, String, RequestQueue, boolean, ReducedPropagationManager) - 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.
LOCK_REQUESTER - Static variable in class org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationManager
 

M

MANAGER_QUEUE_PREFIX - Static variable in class org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationManager
 

O

org.swisspush.gateleen.hook - package org.swisspush.gateleen.hook
 
org.swisspush.gateleen.hook.queueingstrategy - package org.swisspush.gateleen.hook.queueingstrategy
 
org.swisspush.gateleen.hook.reducedpropagation - package org.swisspush.gateleen.hook.reducedpropagation
 
org.swisspush.gateleen.hook.reducedpropagation.impl - package org.swisspush.gateleen.hook.reducedpropagation.impl
 
org.swisspush.gateleen.hook.reducedpropagation.lua - package org.swisspush.gateleen.hook.reducedpropagation.lua
 

P

processIncomingRequest(HttpMethod, String, MultiMap, Buffer, String, long, Handler<Void>) - Method in class org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationManager
The processing of incoming requests contains the following steps: Lock the originally defined queue and enqueue the request Add the queue name to the storage with an expiration value based on the propagationIntervalMs parameter When the queue name is already in the storage, a running timer exists.
PROCESSOR_ADDRESS - Static variable in class org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationManager
 

Q

QUEUE_EXPIRE_AFTER - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
QueueingStrategy - Class in org.swisspush.gateleen.hook.queueingstrategy
Created by webermarca on 22.02.2017.
QueueingStrategy() - Constructor for class org.swisspush.gateleen.hook.queueingstrategy.QueueingStrategy
 
QueueingStrategyFactory - Class in org.swisspush.gateleen.hook.queueingstrategy
Factory class to build QueueingStrategy instances from hook configurations.

R

RedisReducedPropagationStorage - Class in org.swisspush.gateleen.hook.reducedpropagation.impl
Redis based implementation of the ReducedPropagationStorage interface.
RedisReducedPropagationStorage(RedisClient) - Constructor for class org.swisspush.gateleen.hook.reducedpropagation.impl.RedisReducedPropagationStorage
 
ReducedPropagationLuaScripts - Enum in org.swisspush.gateleen.hook.reducedpropagation.lua
Enum containing the file names of the reduced propagation feature related lua scripts.
ReducedPropagationManager - Class in org.swisspush.gateleen.hook.reducedpropagation
Manager class for the reduced propagation feature.
ReducedPropagationManager(Vertx, ReducedPropagationStorage, RequestQueue) - Constructor for class org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationManager
 
ReducedPropagationQueueingStrategy - Class in org.swisspush.gateleen.hook.queueingstrategy
QueueingStrategy implementation used when the propagation of changes to the hooked resource should be reduced.
ReducedPropagationQueueingStrategy(long) - Constructor for class org.swisspush.gateleen.hook.queueingstrategy.ReducedPropagationQueueingStrategy
 
ReducedPropagationStorage - Interface in org.swisspush.gateleen.hook.reducedpropagation
Provides storage access to the reduced propagation feature related data.
removeExpiredQueues(long) - Method in class org.swisspush.gateleen.hook.reducedpropagation.impl.RedisReducedPropagationStorage
 
removeExpiredQueues(long) - Method in interface org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationStorage
 
RemoveExpiredQueuesRedisCommand - Class in org.swisspush.gateleen.hook.reducedpropagation.lua
 
RemoveExpiredQueuesRedisCommand(LuaScriptState, List<String>, List<String>, RedisClient, Logger, Future<List<String>>) - Constructor for class org.swisspush.gateleen.hook.reducedpropagation.lua.RemoveExpiredQueuesRedisCommand
 
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
 
removeQueueRequest(String) - Method in class org.swisspush.gateleen.hook.reducedpropagation.impl.RedisReducedPropagationStorage
 
removeQueueRequest(String) - Method in interface org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationStorage
 
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.
setQueueingStrategy(QueueingStrategy) - Method in class org.swisspush.gateleen.hook.HttpHook
Sets the queueing strategy for the hook
size() - Method in interface org.swisspush.gateleen.hook.ListenerRepository
Returns the size of the repository.
size() - Method in class org.swisspush.gateleen.hook.LocalListenerRepository
 
startExpiredQueueProcessing(long) - Method in class org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationManager
Start the periodic check to process expired queues.
StartQueueTimerRedisCommand - Class in org.swisspush.gateleen.hook.reducedpropagation.lua
 
StartQueueTimerRedisCommand(LuaScriptState, List<String>, List<String>, RedisClient, Logger, Future<Boolean>) - Constructor for class org.swisspush.gateleen.hook.reducedpropagation.lua.StartQueueTimerRedisCommand
 
STATIC_HEADERS - Static variable in class org.swisspush.gateleen.hook.HookHandler
 
storeQueueRequest(String, JsonObject) - Method in class org.swisspush.gateleen.hook.reducedpropagation.impl.RedisReducedPropagationStorage
 
storeQueueRequest(String, JsonObject) - Method in interface org.swisspush.gateleen.hook.reducedpropagation.ReducedPropagationStorage
 

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.
valueOf(String) - Static method in enum org.swisspush.gateleen.hook.reducedpropagation.lua.ReducedPropagationLuaScripts
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.
values() - Static method in enum org.swisspush.gateleen.hook.reducedpropagation.lua.ReducedPropagationLuaScripts
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M O P Q R S T V 
Skip navigation links