Interface Proxy

  • All Known Implementing Classes:
    ProxyImpl

    public interface Proxy
    Represents a proxy.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Proxy.ProxyState
      States that the proxy can be in.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void configure​(java.lang.String host, java.util.Map<java.lang.String,​java.lang.String> headers, ProxyHandler proxyHandler, org.apache.qpid.proton.engine.Transport underlyingTransport)
      Configures the AMQP broker host with the given proxy handler and transport.
    • Method Detail

      • configure

        void configure​(java.lang.String host,
                       java.util.Map<java.lang.String,​java.lang.String> headers,
                       ProxyHandler proxyHandler,
                       org.apache.qpid.proton.engine.Transport underlyingTransport)
        Configures the AMQP broker host with the given proxy handler and transport.
        Parameters:
        host - AMQP broker.
        headers - Additional headers to add to the proxy request.
        proxyHandler - Handler for the proxy.
        underlyingTransport - Actual transport layer.