Package org.eclipse.jetty.server
Interface TunnelSupport
public interface TunnelSupport
Supports the implementation of HTTP CONNECT
tunnels.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theEndPoint
that should be used to carry the tunneled protocol.Returns the protocol of theCONNECT
tunnel, ornull
if the tunnel transports HTTP or opaque bytes.
-
Method Details
-
getProtocol
String getProtocol()Returns the protocol of the
CONNECT
tunnel, ornull
if the tunnel transports HTTP or opaque bytes.- Returns:
- the
CONNECT
tunnel protocol, ornull
for HTTP
-
getEndPoint
EndPoint getEndPoint()Returns the
EndPoint
that should be used to carry the tunneled protocol.- Returns:
- the
CONNECT
tunnelEndPoint
-