- java.lang.Object
-
- org.eclipse.jetty.io.AbstractConnection
-
- org.eclipse.jetty.server.NegotiatingServerConnection
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.eclipse.jetty.io.Connection
public abstract class NegotiatingServerConnection extends org.eclipse.jetty.io.AbstractConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNegotiatingServerConnection.CipherDiscriminator
-
Constructor Summary
Constructors Modifier Constructor Description protectedNegotiatingServerConnection(Connector connector, org.eclipse.jetty.io.EndPoint endPoint, javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> protocols, java.lang.String defaultProtocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ConnectorgetConnector()java.lang.StringgetDefaultProtocol()java.lang.StringgetProtocol()java.util.List<java.lang.String>getProtocols()javax.net.ssl.SSLEnginegetSSLEngine()voidonFillable()voidonOpen()protected voidsetProtocol(java.lang.String protocol)-
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
addEventListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested
-
-
-
-
Constructor Detail
-
NegotiatingServerConnection
protected NegotiatingServerConnection(Connector connector, org.eclipse.jetty.io.EndPoint endPoint, javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> protocols, java.lang.String defaultProtocol)
-
-
Method Detail
-
getProtocols
public java.util.List<java.lang.String> getProtocols()
-
getDefaultProtocol
public java.lang.String getDefaultProtocol()
-
getConnector
public Connector getConnector()
-
getSSLEngine
public javax.net.ssl.SSLEngine getSSLEngine()
-
getProtocol
public java.lang.String getProtocol()
-
setProtocol
protected void setProtocol(java.lang.String protocol)
-
onOpen
public void onOpen()
- Specified by:
onOpenin interfaceorg.eclipse.jetty.io.Connection- Overrides:
onOpenin classorg.eclipse.jetty.io.AbstractConnection
-
onFillable
public void onFillable()
- Specified by:
onFillablein classorg.eclipse.jetty.io.AbstractConnection
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceorg.eclipse.jetty.io.Connection- Overrides:
closein classorg.eclipse.jetty.io.AbstractConnection
-
-