public class ALPNServerConnection extends NegotiatingServerConnection implements org.eclipse.jetty.alpn.ALPN.ServerProvider
NegotiatingServerConnection.CipherDiscriminator
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo
Constructor and Description |
---|
ALPNServerConnection(Connector connector,
EndPoint endPoint,
SSLEngine engine,
List<String> protocols,
String defaultProtocol) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Performs a logical close of this connection.
|
String |
select(List<String> clientProtocols) |
void |
unsupported() |
getConnector, getDefaultProtocol, getProtocol, getProtocols, getSSLEngine, onFillable, onOpen, setProtocol
addListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested
public void unsupported()
unsupported
in interface org.eclipse.jetty.alpn.ALPN.ServerProvider
public String select(List<String> clientProtocols)
select
in interface org.eclipse.jetty.alpn.ALPN.ServerProvider
public void close()
Connection
Performs a logical close of this connection.
For simple connections, this may just mean to delegate the close to the associated
EndPoint
but, for example, SSL connections should write the SSL close message
before closing the associated EndPoint
.
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Connection
close
in class NegotiatingServerConnection
Copyright © 1995–2017 Webtide. All rights reserved.