Class Delegate


  • public class Delegate
    extends java.lang.Object
    Represents 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.String getName()
      Returns the name of the delegate.
      void handle​(io.vertx.core.http.HttpServerRequest request)
      Handles the given request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 - selfClient
        name - name of delegate
        pattern - pattern for the delegate
        methods - methods of the delegate
        requests - requests of the delegate
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the delegate.
        Returns:
        name
      • handle

        public void handle​(io.vertx.core.http.HttpServerRequest request)
        Handles the given request.
        Parameters:
        request - original request