Package org.swisspush.gateleen.delegate
Class Delegate
- java.lang.Object
-
- org.swisspush.gateleen.delegate.Delegate
-
public class Delegate extends java.lang.ObjectRepresents a Delegate.- Author:
- https://github.com/ljucam [Mario Ljuca]
-
-
Constructor Summary
Constructors Constructor Description Delegate(DelegateClientRequestCreator delegateClientRequestCreator, java.lang.String name, java.util.regex.Pattern pattern, java.util.Set<io.vertx.core.http.HttpMethod> methods, java.util.List<DelegateRequest> requests)Creates a new instance of a Delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of the delegate.voidhandle(io.vertx.core.http.HttpServerRequest request)Handles the given request.
-
-
-
Constructor Detail
-
Delegate
public Delegate(DelegateClientRequestCreator delegateClientRequestCreator, java.lang.String name, java.util.regex.Pattern pattern, java.util.Set<io.vertx.core.http.HttpMethod> methods, java.util.List<DelegateRequest> requests)
Creates a new instance of a Delegate.- Parameters:
delegateClientRequestCreator- selfClientname- name of delegatepattern- pattern for the delegatemethods- methods of the delegaterequests- requests of the delegate
-
-