Not a proper open listener as such, but more a mechanism for selecting between them.
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private final ALPNManager | |
| private final ByteBufferPool | |
| private final String | |
| public static final String | IBM_REQUIRED_CIPHER
Names of ciphers in IBM JVM are prefixed with `SSL` instead of `TLS`, see e.g.: https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q113210_.htm. |
| private final Map | |
| private String[] | |
| private volatile boolean | |
| public static final String | REQUIRED_CIPHER
HTTP/2 required cipher. |
| private static final Set | |
| private volatile HttpHandler | |
| private volatile boolean | |
| private volatile OptionMap |
| Access | Constructor and Description |
|---|---|
| public | AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, DelegateOpenListener httpListener)
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public | AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions)
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public | AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener)
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public | AlpnOpenListener(ByteBufferPool bufferPool, OptionMap undertowOptions, DelegateOpenListener httpListener)
|
| public | |
| public | |
| public | AlpnOpenListener(ByteBufferPool bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener)
|
| Modifier and Type | Method and Description |
|---|---|
| public AlpnOpenListener | |
| public void | closeConnections()
Overrides default io. Close all active connections that were handled by this listener |
| public static boolean | |
| public ByteBufferPool | |
| public ConnectorStatistics | |
| public HttpHandler | |
| public OptionMap | |
| public void | handleEvent(final StreamConnection
the channel event channel)Implements org. Handle the event on this channel. |
| public void | setRootHandler(HttpHandler
The new root handler rootHandler)Implements io. Sets the root handler |
| public void | setUndertowOptions(OptionMap
The connector options undertowOptions)Implements io.
|
| alpnFailLogged | back to summary |
|---|---|
| private volatile boolean alpnFailLogged | |
| alpnManager | back to summary |
|---|---|
| private final ALPNManager alpnManager | |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| fallbackProtocol | back to summary |
|---|---|
| private final String fallbackProtocol | |
| IBM_REQUIRED_CIPHER | back to summary |
|---|---|
| public static final String IBM_REQUIRED_CIPHER Names of ciphers in IBM JVM are prefixed with `SSL` instead of `TLS`, see e.g.: https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q113210_.htm. Thus let's have IBM alternative for the REQUIRED_CIPHER variable too. | |
| listeners | back to summary |
|---|---|
| private final Map<String, AlpnOpenListener. | |
| protocols | back to summary |
|---|---|
| private String[] protocols | |
| providerLogged | back to summary |
|---|---|
| private volatile boolean providerLogged | |
| REQUIRED_CIPHER | back to summary |
|---|---|
| public static final String REQUIRED_CIPHER HTTP/2 required cipher. Not strictly part of ALPN but it can live here for now till we have a better solution. | |
| REQUIRED_PROTOCOLS | back to summary |
|---|---|
| private static final Set<String> REQUIRED_PROTOCOLS | |
| rootHandler | back to summary |
|---|---|
| private volatile HttpHandler rootHandler | |
| statisticsEnabled | back to summary |
|---|---|
| private volatile boolean statisticsEnabled | |
| undertowOptions | back to summary |
|---|---|
| private volatile OptionMap undertowOptions | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, DelegateOpenListener httpListener)
References Deprecated
See corresponding docs for further information. | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions)
References Deprecated
See corresponding docs for further information. | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener)
References Deprecated
See corresponding docs for further information. | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(ByteBufferPool bufferPool, OptionMap undertowOptions, DelegateOpenListener httpListener) | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(ByteBufferPool bufferPool) | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(ByteBufferPool bufferPool, OptionMap undertowOptions) | |
| AlpnOpenListener | back to summary |
|---|---|
| public AlpnOpenListener(ByteBufferPool bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener) | |
| addProtocol | back to summary |
|---|---|
| public AlpnOpenListener addProtocol(String name, DelegateOpenListener listener, int weight) | |
| closeConnections | back to summary |
|---|---|
| public void closeConnections() Overrides default io. Doc from io. Close all active connections that were handled by this listener
| |
| engineSupportsHTTP2 | back to summary |
|---|---|
| public static boolean engineSupportsHTTP2(SSLEngine engine) | |
| getBufferPool | back to summary |
|---|---|
| public ByteBufferPool getBufferPool() Implements io.
| |
| getConnectorStatistics | back to summary |
|---|---|
| public ConnectorStatistics getConnectorStatistics() Implements io.
| |
| getRootHandler | back to summary |
|---|---|
| public HttpHandler getRootHandler() Implements io.
| |
| getUndertowOptions | back to summary |
|---|---|
| public OptionMap getUndertowOptions() Implements io.
| |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(final StreamConnection channel) Implements org. Doc from org. Handle the event on this channel.
| |
| setRootHandler | back to summary |
|---|---|
| public void setRootHandler(HttpHandler rootHandler) Implements io. Doc from io. Sets the root handler
| |
| setUndertowOptions | back to summary |
|---|---|
| public void setUndertowOptions(OptionMap undertowOptions) Implements io.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final StreamConnection | |
| private final CompletableFuture |
| Access | Constructor and Description |
|---|---|
| private | AlpnConnectionListener(StreamConnection channel, CompletableFuture<AlpnOpenListener.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | handleEvent(StreamSourceChannel
the channel event source)Implements org. Handle the event on this channel. |
| channel | back to summary |
|---|---|
| private final StreamConnection channel | |
| selectedAlpn | back to summary |
|---|---|
| private final CompletableFuture<AlpnOpenListener. | |
| AlpnConnectionListener | back to summary |
|---|---|
| private AlpnConnectionListener(StreamConnection channel, CompletableFuture<AlpnOpenListener. | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(StreamSourceChannel source) Implements org. Doc from org. Handle the event on this channel.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final DelegateOpenListener | |
| pack-priv final String | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(AlpnOpenListener.
the object to be compared. oImplements java. Compares this object with the specified object for order. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| listener | back to summary |
|---|---|
| pack-priv final DelegateOpenListener listener | |
| protocol | back to summary |
|---|---|
| pack-priv final String protocol | |
| weight | back to summary |
|---|---|
| pack-priv final int weight | |
| ListenerEntry | back to summary |
|---|---|
| pack-priv ListenerEntry(DelegateOpenListener listener, int weight, String protocol) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(AlpnOpenListener. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SSLEngine | |
| pack-priv final ALPNProvider |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| engine | back to summary |
|---|---|
| pack-priv final SSLEngine engine | |
| provider | back to summary |
|---|---|
| pack-priv final ALPNProvider provider | |
| SelectedAlpn | back to summary |
|---|---|
| pack-priv SelectedAlpn(SSLEngine engine, ALPNProvider provider) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SslConduit | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public SSLEngine | apply(SSLEngine
the function argument engine)Implements java. Applies this function to the given argument. |
| conduit | back to summary |
|---|---|
| pack-priv final SslConduit conduit | |
| underlying | back to summary |
|---|---|
| pack-priv final Function<SSLEngine, SSLEngine> underlying | |
| SSLConduitUpdater | back to summary |
|---|---|
| pack-priv SSLConduitUpdater(SslConduit conduit, Function<SSLEngine, SSLEngine> underlying) | |
| apply | back to summary |
|---|---|
| public SSLEngine apply(SSLEngine engine) Implements java. Doc from java. Applies this function to the given argument. | |