Top Description Methods
org.eclipse.jetty.server

public Interface TunnelSupport

Known Direct Implementers
org.eclipse.jetty.server.internal.HttpConnection.TunnelSupportOverHTTP1
Imports
org.eclipse.jetty.io.EndPoint

Supports the implementation of HTTP CONNECT tunnels.

Method Summary

Modifier and TypeMethod and Description
public EndPoint

Returns:

the CONNECT tunnel EndPoint
getEndPoint
()

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

public String

Returns:

the CONNECT tunnel protocol, or null for HTTP
getProtocol
()

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

Method Detail

getEndPointback to summary
public EndPoint getEndPoint()

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

Returns:EndPoint

the CONNECT tunnel EndPoint

getProtocolback to summary
public String getProtocol()

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

Returns:String

the CONNECT tunnel protocol, or null for HTTP