Interface TunnelSupport


public interface TunnelSupport

Supports the implementation of HTTP CONNECT tunnels.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the EndPoint that should be used to carry the tunneled protocol.
    Returns the protocol of the CONNECT tunnel, or null if the tunnel transports HTTP or opaque bytes.
  • Method Details

    • getProtocol

      String getProtocol()

      Returns the protocol of the CONNECT tunnel, or null if the tunnel transports HTTP or opaque bytes.

      Returns:
      the CONNECT tunnel protocol, or null for HTTP
    • getEndPoint

      EndPoint getEndPoint()

      Returns the EndPoint that should be used to carry the tunneled protocol.

      Returns:
      the CONNECT tunnel EndPoint