Package | Description |
---|---|
io.undertow | |
io.undertow.channels | |
io.undertow.client | |
io.undertow.client.http2 | |
io.undertow.server | |
io.undertow.server.protocol.framed | |
io.undertow.server.protocol.http2 | |
io.undertow.websockets.core.function | |
org.jboss.remoting3 |
The base Remoting 3 API package.
|
org.xnio |
The main API package for XNIO.
|
org.xnio.channels |
The core XNIO channel API.
|
org.xnio.conduits |
The XNIO conduit SPI.
|
org.xnio.ssl |
Utility classes for using and implementing SSL within XNIO providers.
|
Modifier and Type | Field and Description |
---|---|
static Option<Boolean> |
UndertowOptions.ALLOW_ENCODED_SLASH
If a request comes in with encoded / characters (i.e.
|
static Option<Boolean> |
UndertowOptions.ALLOW_EQUALS_IN_COOKIE_VALUE
If this is true then Undertow will allow non-escaped equals characters in unquoted cookie values.
|
static Option<Boolean> |
UndertowOptions.ALLOW_UNKNOWN_PROTOCOLS
If unknown protocols should be allowed.
|
static Option<Boolean> |
UndertowOptions.ALWAYS_SET_DATE
If this is true then a Date header will be added to all responses.
|
static Option<Boolean> |
UndertowOptions.ALWAYS_SET_KEEP_ALIVE
If this is true then a Connection: keep-alive header will be added to responses, even when it is not strictly required by
the specification.
|
static Option<Boolean> |
UndertowOptions.BUFFER_PIPELINED_DATA
If we should buffer pipelined requests.
|
static Option<Boolean> |
UndertowOptions.DECODE_URL
If this is true then the parser will decode the URL and query parameters using the selected character encoding (UTF-8 by default).
|
static Option<Boolean> |
UndertowOptions.ENABLE_CONNECTOR_STATISTICS
Deprecated.
|
static Option<Boolean> |
UndertowOptions.ENABLE_HTTP2
If we should attempt to use HTTP2 for HTTPS connections.
|
static Option<Boolean> |
UndertowOptions.ENABLE_RFC6265_COOKIE_VALIDATION
If this is true then Undertow will enable RFC6265 compliant cookie validation for Set-Cookie header instead of legacy backward compatible behavior.
|
static Option<Boolean> |
UndertowOptions.ENABLE_SPDY
Deprecated.
|
static Option<Boolean> |
UndertowOptions.ENABLE_STATISTICS
If connector level statistics should be enabled.
|
static Option<Integer> |
UndertowOptions.HTTP_HEADERS_CACHE_SIZE
The maximum number of headers that are cached per connection.
|
static Option<Integer> |
UndertowOptions.HTTP2_HUFFMAN_CACHE_SIZE
Undertow keeps a LRU cache of common huffman encodings.
|
static Option<Integer> |
UndertowOptions.HTTP2_PADDING_SIZE
The maximum amount of padding to send in a HTTP/2 frame.
|
static Option<Boolean> |
UndertowOptions.HTTP2_SETTINGS_ENABLE_PUSH
If push should be enabled for this connection.
|
static Option<Integer> |
UndertowOptions.HTTP2_SETTINGS_HEADER_TABLE_SIZE
The size of the header table that is used in the encoder
|
static Option<Integer> |
UndertowOptions.HTTP2_SETTINGS_INITIAL_WINDOW_SIZE |
static Option<Integer> |
UndertowOptions.HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS
The maximum number of concurrent
|
static Option<Integer> |
UndertowOptions.HTTP2_SETTINGS_MAX_FRAME_SIZE |
static Option<Integer> |
UndertowOptions.HTTP2_SETTINGS_MAX_HEADER_LIST_SIZE |
static Option<Integer> |
UndertowOptions.IDLE_TIMEOUT
The idle timeout in milliseconds after which the channel will be closed.
|
static Option<Integer> |
UndertowOptions.MAX_AJP_PACKET_SIZE
The maximum AJP packet size, default is 8192
|
static Option<Integer> |
UndertowOptions.MAX_BUFFERED_REQUEST_SIZE
Maximum size of a buffered request, in bytes
|
static Option<Integer> |
UndertowOptions.MAX_CACHED_HEADER_SIZE
The maximum size of a header name+value combo that is cached in the per connection cache.
|
static Option<Integer> |
UndertowOptions.MAX_CONCURRENT_REQUESTS_PER_CONNECTION
The maximum number of concurrent requests that will be processed at a time.
|
static Option<Integer> |
UndertowOptions.MAX_COOKIES
The maximum number of cookies that will be parsed.
|
static Option<Long> |
UndertowOptions.MAX_ENTITY_SIZE
The default maximum size of the HTTP entity body.
|
static Option<Integer> |
UndertowOptions.MAX_HEADER_SIZE
The maximum size in bytes of a http request header.
|
static Option<Integer> |
UndertowOptions.MAX_HEADERS
The maximum number of headers that will be parsed.
|
static Option<Integer> |
UndertowOptions.MAX_PARAMETERS
The maximum number of parameters that will be parsed.
|
static Option<Integer> |
UndertowOptions.MAX_QUEUED_READ_BUFFERS
The maximum number of buffers that will be used before reads are paused in framed protocols.
|
static Option<Long> |
UndertowOptions.MULTIPART_MAX_ENTITY_SIZE
The default maximum size of the HTTP entity body when using the mutiltipart parser.
|
static Option<Integer> |
UndertowOptions.NO_REQUEST_TIMEOUT
The amount of time the connection can be idle with no current requests before it is closed;
|
static Option<Boolean> |
UndertowOptions.RECORD_REQUEST_START_TIME
If this is true then Undertow will record the request start time, to allow for request time to be logged
This has a small but measurable performance impact
default is false
|
static Option<Integer> |
UndertowOptions.REQUEST_PARSE_TIMEOUT
The maximum allowed time of reading HTTP request in milliseconds.
|
static Option<Boolean> |
UndertowOptions.REQUIRE_HOST_HTTP11
If this is true then HTTP/1.1 requests will be failed if no host header is present.
|
static Option<Boolean> |
UndertowOptions.SSL_USER_CIPHER_SUITES_ORDER
If the SSLEngine should prefer the servers cipher version.
|
static Option<String> |
UndertowOptions.URL_CHARSET
If this is true then the parser will decode the URL and query parameters using the selected character encoding (UTF-8 by default).
|
Modifier and Type | Method and Description |
---|---|
<T> Undertow.Builder |
Undertow.Builder.setServerOption(Option<T> option,
T value) |
<T> Undertow.Builder |
Undertow.Builder.setSocketOption(Option<T> option,
T value) |
<T> Undertow.Builder |
Undertow.Builder.setWorkerOption(Option<T> option,
T value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
DetachableStreamSourceChannel.getOption(Option<T> option) |
<T> T |
DetachableStreamSinkChannel.getOption(Option<T> option) |
<T> T |
DetachableStreamSourceChannel.setOption(Option<T> option,
T value) |
<T> T |
DetachableStreamSinkChannel.setOption(Option<T> option,
T value) |
boolean |
DetachableStreamSourceChannel.supportsOption(Option<?> option) |
boolean |
DetachableStreamSinkChannel.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ClientConnection.getOption(Option<T> option) |
<T> T |
ClientConnection.setOption(Option<T> option,
T value) |
boolean |
ClientConnection.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Http2ClientConnection.getOption(Option<T> option) |
<T> T |
Http2ClientConnection.setOption(Option<T> option,
T value) |
boolean |
Http2ClientConnection.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
ServerConnection.getOption(Option<T> option) |
<T> T |
AbstractServerConnection.getOption(Option<T> option) |
abstract <T> T |
ServerConnection.setOption(Option<T> option,
T value) |
<T> T |
AbstractServerConnection.setOption(Option<T> option,
T value) |
abstract boolean |
ServerConnection.supportsOption(Option<?> option) |
boolean |
AbstractServerConnection.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractFramedStreamSourceChannel.getOption(Option<T> tOption) |
<T> T |
AbstractFramedStreamSinkChannel.getOption(Option<T> tOption) |
<T> T |
AbstractFramedChannel.getOption(Option<T> option) |
<T> T |
AbstractFramedStreamSourceChannel.setOption(Option<T> tOption,
T t) |
<T> T |
AbstractFramedStreamSinkChannel.setOption(Option<T> tOption,
T t) |
<T> T |
AbstractFramedChannel.setOption(Option<T> option,
T value) |
boolean |
AbstractFramedStreamSourceChannel.supportsOption(Option<?> option) |
boolean |
AbstractFramedStreamSinkChannel.supportsOption(Option<?> option) |
boolean |
AbstractFramedChannel.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Http2ServerConnection.getOption(Option<T> option) |
<T> T |
Http2ServerConnection.setOption(Option<T> option,
T value) |
boolean |
Http2ServerConnection.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ChannelFunctionStreamSourceChannel.getOption(Option<T> option) |
<T> T |
ChannelFunctionStreamSourceChannel.setOption(Option<T> option,
T value) |
boolean |
ChannelFunctionStreamSourceChannel.supportsOption(Option<?> option) |
Modifier and Type | Field and Description |
---|---|
static Option<String> |
RemotingOptions.AUTH_REALM
The authentication realm to use if no authentication
CallbackHandler is specified. |
static Option<String> |
RemotingOptions.AUTH_USER_NAME
Deprecated.
|
static Option<Integer> |
RemotingOptions.AUTHENTICATION_RETRIES
Specify the number of times a client is allowed to retry authentication before closing the connection.
|
static Option<String> |
RemotingOptions.AUTHORIZE_ID
The SASL authorization ID.
|
static Option<Integer> |
RemotingOptions.BUFFER_REGION_SIZE
The size of allocated buffer regions.
|
static Option<Integer> |
RemotingOptions.HEARTBEAT_INTERVAL
The interval to use for connection heartbeat, in milliseconds.
|
static Option<Integer> |
RemotingOptions.MAX_INBOUND_CHANNELS
The maximum number of inbound channels to support for a connection.
|
static Option<Long> |
RemotingOptions.MAX_INBOUND_MESSAGE_SIZE
The maximum inbound message size to be allowed.
|
static Option<Integer> |
RemotingOptions.MAX_INBOUND_MESSAGES
The maximum number of concurrent inbound messages on a channel.
|
static Option<Integer> |
RemotingOptions.MAX_OUTBOUND_CHANNELS
The maximum number of outbound channels to support for a connection.
|
static Option<Long> |
RemotingOptions.MAX_OUTBOUND_MESSAGE_SIZE
The maximum outbound message size to send.
|
static Option<Integer> |
RemotingOptions.MAX_OUTBOUND_MESSAGES
The maximum number of concurrent outbound messages on a channel.
|
static Option<Integer> |
RemotingOptions.RECEIVE_BUFFER_SIZE
The size of the largest buffer that this endpoint will accept over a connection.
|
static Option<Integer> |
RemotingOptions.RECEIVE_WINDOW_SIZE
The maximum window size of the receive direction for connection channels, in bytes.
|
static Option<String> |
RemotingOptions.SASL_PROTOCOL
Where a
SaslServer or SaslClient are created by default the protocol specified it 'remoting', this
Option can be used to override this. |
static Option<Integer> |
RemotingOptions.SEND_BUFFER_SIZE
The size of the largest buffer that this endpoint will transmit over a connection.
|
static Option<String> |
RemotingOptions.SERVER_NAME
The server side of the connection passes it's name to the client in the initial greeting, by default the name is
automatically discovered from the local address of the connection or it can be overridden using this
Option . |
static Option<Integer> |
RemotingOptions.TRANSMIT_WINDOW_SIZE
The maximum window size of the transmit direction for connection channels, in bytes.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Channel.getOption(Option<T> option)
Get the value of a channel option.
|
<T> T |
Channel.setOption(Option<T> option,
T value)
Set an option for this channel.
|
boolean |
Channel.supportsOption(Option<?> option)
Determine whether an option is supported on this channel.
|
Modifier and Type | Field and Description |
---|---|
static Option<Boolean> |
Options.ALLOW_BLOCKING
Enable or disable blocking I/O for a newly created channel thread.
|
static Option<Integer> |
Options.BACKLOG
Configure a server with the specified backlog.
|
static Option<Integer> |
Options.BALANCING_CONNECTIONS
The number of connections to create per connection-balancing token, if connection-balancing is enabled.
|
static Option<Integer> |
Options.BALANCING_TOKENS
The number of balancing tokens, if connection-balancing is enabled.
|
static Option<Boolean> |
Options.BROADCAST
Enable broadcast support for IP datagram sockets.
|
static Option<Boolean> |
Options.CLOSE_ABORT
Configure a TCP socket to send an
RST packet on close. |
static Option<Integer> |
Options.COMPRESSION_LEVEL
The compression level to apply for compressing streams and channels.
|
static Option<CompressionType> |
Options.COMPRESSION_TYPE
The compression type to apply for compressing streams and channels.
|
static Option<Integer> |
Options.CONNECTION_HIGH_WATER
The high water mark for a server's connections.
|
static Option<Integer> |
Options.CONNECTION_LOW_WATER
The low water mark for a server's connections.
|
static Option<Boolean> |
Options.CORK
Specify that output should be buffered.
|
static Option<FileAccess> |
Options.FILE_ACCESS
The file access mode to use when opening a file.
|
static Option<Boolean> |
Options.FILE_APPEND
A flag which indicates that opened files should be appended to.
|
static Option<Boolean> |
Options.FILE_CREATE
A flag which indicates that a file should be created if it does not exist (
true by default for writing files,
false by default for reading files). |
static Option<Integer> |
Options.IP_TRAFFIC_CLASS
Set the IP traffic class/type-of-service for the channel.
|
static Option<Boolean> |
Options.KEEP_ALIVE
Configure a channel to send TCP keep-alive messages in an implementation-dependent manner.
|
static Option<Integer> |
Options.MAX_INBOUND_MESSAGE_SIZE
The maximum inbound message size.
|
static Option<Integer> |
Options.MAX_OUTBOUND_MESSAGE_SIZE
The maximum outbound message size.
|
static Option<Boolean> |
Options.MULTICAST
Enable multicast support for a socket.
|
static Option<Integer> |
Options.MULTICAST_TTL
Set the multicast time-to-live field for datagram sockets.
|
static Option<Integer> |
Options.READ_TIMEOUT
Configure a read timeout for a socket, in milliseconds.
|
static Option<Integer> |
Options.RECEIVE_BUFFER
The receive buffer size.
|
static Option<Boolean> |
Options.REUSE_ADDRESSES
Configure an IP socket to reuse addresses.
|
static Option<Sequence<String>> |
Options.SASL_DISALLOWED_MECHANISMS
A list of disallowed SASL mechanisms.
|
static Option<Sequence<String>> |
Options.SASL_MECHANISMS
A list of SASL mechanisms, in decreasing order of preference.
|
static Option<Boolean> |
Options.SASL_POLICY_FORWARD_SECRECY
Specify whether SASL mechanisms which implement forward secrecy between sessions are required.
|
static Option<Boolean> |
Options.SASL_POLICY_NOACTIVE
Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted.
|
static Option<Boolean> |
Options.SASL_POLICY_NOANONYMOUS
Specify whether SASL mechanisms which accept anonymous logins are permitted.
|
static Option<Boolean> |
Options.SASL_POLICY_NODICTIONARY
Specify whether SASL mechanisms which are susceptible to passive dictionary attacks are permitted.
|
static Option<Boolean> |
Options.SASL_POLICY_NOPLAINTEXT
Specify whether SASL mechanisms which are susceptible to simple plain passive attacks are permitted.
|
static Option<Boolean> |
Options.SASL_POLICY_PASS_CREDENTIALS
Specify whether SASL mechanisms which pass client credentials are required.
|
static Option<Sequence<Property>> |
Options.SASL_PROPERTIES
A list of provider specific SASL properties.
|
static Option<Sequence<SaslQop>> |
Options.SASL_QOP
Specify the SASL quality-of-protection to use.
|
static Option<Boolean> |
Options.SASL_REUSE
Specify whether SASL mechanisms should attempt to reuse authenticated session information.
|
static Option<Boolean> |
Options.SASL_SERVER_AUTH
Specify whether the SASL server must authenticate to the client.
|
static Option<SaslStrength> |
Options.SASL_STRENGTH
Specify the SASL cipher strength to use.
|
static Option<Boolean> |
Options.SECURE
Determine whether the channel is encrypted, or employs some other level of security.
|
static Option<Integer> |
Options.SEND_BUFFER
The send buffer size.
|
static Option<Boolean> |
Options.SPLIT_READ_WRITE_THREADS
Specify whether read and write operations should be split among separate threads.
|
static Option<Integer> |
Options.SSL_APPLICATION_BUFFER_REGION_SIZE
The size of the allocation region to use for SSL application buffers.
|
static Option<Integer> |
Options.SSL_APPLICATION_BUFFER_SIZE
The application buffer size for SSL.
|
static Option<SslClientAuthMode> |
Options.SSL_CLIENT_AUTH_MODE
Specify the SSL client authentication mode.
|
static Option<Integer> |
Options.SSL_CLIENT_SESSION_CACHE_SIZE
The size of the SSL client session cache.
|
static Option<Integer> |
Options.SSL_CLIENT_SESSION_TIMEOUT
The SSL client session timeout (in seconds).
|
static Option<Boolean> |
Options.SSL_ENABLE_SESSION_CREATION
Enable or disable session creation for an SSL connection.
|
static Option<Boolean> |
Options.SSL_ENABLED
Specify whether SSL should be enabled.
|
static Option<Sequence<String>> |
Options.SSL_ENABLED_CIPHER_SUITES
Specify the cipher suites for an SSL/TLS session.
|
static Option<Sequence<String>> |
Options.SSL_ENABLED_PROTOCOLS
Specify the enabled protocols for an SSL/TLS session.
|
static Option<Sequence<Class<? extends KeyManager>>> |
Options.SSL_JSSE_KEY_MANAGER_CLASSES
The possible key manager classes to use for a JSSE SSL context.
|
static Option<Sequence<Class<? extends TrustManager>>> |
Options.SSL_JSSE_TRUST_MANAGER_CLASSES
The possible trust store classes to use for a JSSE SSL context.
|
static Option<Boolean> |
Options.SSL_NON_BLOCKING_KEY_MANAGER
Hint to the SSL engine that the key manager implementation(s) is/are non-blocking, so they can be executed
in the I/O thread, possibly improving performance by decreasing latency.
|
static Option<Boolean> |
Options.SSL_NON_BLOCKING_TRUST_MANAGER
Hint to the SSL engine that the trust manager implementation(s) is/are non-blocking, so they can be executed
in the I/O thread, possibly improving performance by decreasing latency.
|
static Option<Integer> |
Options.SSL_PACKET_BUFFER_REGION_SIZE
The size of the allocation region to use for SSL packet buffers.
|
static Option<Integer> |
Options.SSL_PACKET_BUFFER_SIZE
The packet buffer size for SSL.
|
static Option<String> |
Options.SSL_PEER_HOST_NAME
Specify the (non-authoritative) name of the peer host to use for the purposes of session reuse, as well as
for the use of certain cipher suites (such as Kerberos).
|
static Option<Integer> |
Options.SSL_PEER_PORT
Specify the (non-authoritative) port number of the peer port number to use for the purposes of session reuse, as well as
for the use of certain cipher suites.
|
static Option<String> |
Options.SSL_PROTOCOL
Specify the protocol name for an SSL context.
|
static Option<String> |
Options.SSL_PROVIDER
Specify the requested provider for an SSL/TLS session.
|
static Option<OptionMap> |
Options.SSL_RNG_OPTIONS
The configuration of a secure RNG for SSL usage.
|
static Option<Integer> |
Options.SSL_SERVER_SESSION_CACHE_SIZE
The size of the SSL server session cache.
|
static Option<Integer> |
Options.SSL_SERVER_SESSION_TIMEOUT
The SSL server session timeout (in seconds).
|
static Option<Boolean> |
Options.SSL_STARTTLS
Specify whether to use STARTTLS mode (in which a connection starts clear and switches to TLS on demand).
|
static Option<Sequence<String>> |
Options.SSL_SUPPORTED_CIPHER_SUITES
Get the supported cipher suites for an SSL/TLS session.
|
static Option<Sequence<String>> |
Options.SSL_SUPPORTED_PROTOCOLS
Get the supported protocols for an SSL/TLS session.
|
static Option<Boolean> |
Options.SSL_USE_CLIENT_MODE
Specify whether SSL conversations should be in client or server mode.
|
static Option<Long> |
Options.STACK_SIZE
The stack size (in bytes) to attempt to use for worker threads.
|
static Option<Boolean> |
Options.TCP_NODELAY
Configure a TCP socket to disable Nagle's algorithm.
|
static Option<Boolean> |
Options.TCP_OOB_INLINE
Configure a TCP socket to receive out-of-band data alongside regular data.
|
static Option<Boolean> |
Options.THREAD_DAEMON
Specify whether worker threads should be daemon threads.
|
static Option<Integer> |
Options.THREAD_PRIORITY
The thread priority for newly created worker threads.
|
static Option<Boolean> |
Options.USE_DIRECT_BUFFERS
Specify whether direct buffers should be used for socket communications.
|
static Option<Integer> |
Options.WATCHER_POLL_INTERVAL
The poll interval for poll based file system watchers.
|
static Option<Integer> |
Options.WORKER_ACCEPT_THREADS
Deprecated.
This option is now ignored. All I/O threads are used for accept, except in the case of split read/write
threads, in which case only read or write threads will be used as determined by
Options.WORKER_ESTABLISH_WRITING . |
static Option<Boolean> |
Options.WORKER_ESTABLISH_WRITING
Specify whether a server, acceptor, or connector should be attached to write threads.
|
static Option<Integer> |
Options.WORKER_IO_THREADS
Specify the number of I/O threads to create for the worker.
|
static Option<String> |
Options.WORKER_NAME
The name to use for a newly created worker.
|
static Option<Integer> |
Options.WORKER_READ_THREADS
Specify the number of I/O threads to devote to reading for split thread channels.
|
static Option<Integer> |
Options.WORKER_TASK_CORE_THREADS
Specify the number of "core" threads for the worker task thread pool.
|
static Option<Integer> |
Options.WORKER_TASK_KEEPALIVE
Specify the number of milliseconds to keep non-core task threads alive.
|
static Option<Integer> |
Options.WORKER_TASK_LIMIT
Specify the maximum number of worker tasks to allow before rejecting.
|
static Option<Integer> |
Options.WORKER_TASK_MAX_THREADS
Specify the maximum number of threads for the worker task thread pool.
|
static Option<Integer> |
Options.WORKER_WRITE_THREADS
Specify the number of I/O threads to devote to writing for split thread channels.
|
static Option<Integer> |
Options.WRITE_TIMEOUT
Configure a write timeout for a socket, in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
static Option<?> |
Option.fromString(String name,
ClassLoader classLoader)
Get an option from a string name, using the given classloader.
|
static <T> Option<Sequence<T>> |
Option.sequence(Class<?> declClass,
String name,
Class<T> elementType)
Create an option with a sequence type.
|
static <T> Option<T> |
Option.simple(Class<?> declClass,
String name,
Class<T> type)
Create an option with a simple type.
|
static <T> Option<Class<? extends T>> |
Option.type(Class<?> declClass,
String name,
Class<T> declType)
Create an option with a class type.
|
static <T> Option<Sequence<Class<? extends T>>> |
Option.typeSequence(Class<?> declClass,
String name,
Class<T> elementDeclType)
Create an option with a sequence-of-types type.
|
Modifier and Type | Method and Description |
---|---|
Set<Option<?>> |
Option.SetBuilder.create()
Create the immutable option set instance.
|
Iterator<Option<?>> |
OptionMap.iterator()
Iterate over the options in this map.
|
Modifier and Type | Method and Description |
---|---|
Option.SetBuilder |
Option.SetBuilder.add(Option<?>... options)
Add options to this set.
|
Option.SetBuilder |
Option.SetBuilder.add(Option<?> option)
Add an option to this set.
|
Option.SetBuilder |
Option.SetBuilder.add(Option<?> option1,
Option<?> option2)
Add options to this set.
|
Option.SetBuilder |
Option.SetBuilder.add(Option<?> option1,
Option<?> option2)
Add options to this set.
|
Option.SetBuilder |
Option.SetBuilder.add(Option<?> option1,
Option<?> option2,
Option<?> option3)
Add options to this set.
|
Option.SetBuilder |
Option.SetBuilder.add(Option<?> option1,
Option<?> option2,
Option<?> option3)
Add options to this set.
|
Option.SetBuilder |
Option.SetBuilder.add(Option<?> option1,
Option<?> option2,
Option<?> option3)
Add options to this set.
|
boolean |
OptionMap.contains(Option<?> option)
Determine whether this option map contains the given option.
|
static <T> OptionMap |
OptionMap.create(Option<T> option,
T value)
Create a single-valued option map.
|
static <T1,T2> OptionMap |
OptionMap.create(Option<T1> option1,
T1 value1,
Option<T2> option2,
T2 value2)
Create a two-valued option map.
|
static <T1,T2> OptionMap |
OptionMap.create(Option<T1> option1,
T1 value1,
Option<T2> option2,
T2 value2)
Create a two-valued option map.
|
boolean |
OptionMap.get(Option<Boolean> option,
boolean defaultValue)
Get a boolean value from this option map, with a specified default if the value is missing.
|
int |
OptionMap.get(Option<Integer> option,
int defaultValue)
Get a int value from this option map, with a specified default if the value is missing.
|
long |
OptionMap.get(Option<Long> option,
long defaultValue)
Get a long value from this option map, with a specified default if the value is missing.
|
<T> T |
OptionMap.get(Option<T> option)
Get the value of an option from this option map.
|
<T> T |
OptionMap.get(Option<T> option,
T defaultValue)
Get the value of an option from this option map, with a specified default if the value is missing.
|
<T> T |
XnioWorker.getOption(Option<T> option) |
<T> T |
Connection.getOption(Option<T> option) |
<T> OptionMap.Builder |
OptionMap.Builder.parse(Option<T> key,
String stringValue)
Set a key-value pair, parsing the value from the given string.
|
<T> OptionMap.Builder |
OptionMap.Builder.parse(Option<T> key,
String stringValue,
ClassLoader classLoader)
Set a key-value pair, parsing the value from the given string.
|
OptionMap.Builder |
OptionMap.Builder.set(Option<Boolean> key,
boolean value)
Set a boolean value for a Boolean key.
|
OptionMap.Builder |
OptionMap.Builder.set(Option<Integer> key,
int value)
Set an int value for an Integer key.
|
OptionMap.Builder |
OptionMap.Builder.set(Option<Long> key,
long value)
Set a long value for a Long key.
|
<T> OptionMap.Builder |
OptionMap.Builder.set(Option<T> key,
T value)
Set a key-value pair.
|
<T> T |
XnioWorker.setOption(Option<T> option,
T value) |
<T> T |
Connection.setOption(Option<T> option,
T value) |
OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<Boolean>> key,
boolean... values)
Set boolean values for an Boolean sequence key.
|
OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<Integer>> key,
int... values)
Set int values for an Integer sequence key.
|
OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<Long>> key,
long... values)
Set long values for a Long sequence key.
|
<T> OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<T>> key,
T... values)
Set a key-value pair, where the value is a sequence type.
|
boolean |
XnioWorker.supportsOption(Option<?> option) |
boolean |
Connection.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
Option.SetBuilder |
Option.SetBuilder.addAll(Collection<Option<?>> options)
Add all options from a collection to this set.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Channels.getOption(Configurable configurable,
Option<Boolean> option,
boolean defaultValue)
Get an option value from a configurable target.
|
static int |
Channels.getOption(Configurable configurable,
Option<Integer> option,
int defaultValue)
Get an option value from a configurable target.
|
static long |
Channels.getOption(Configurable configurable,
Option<Long> option,
long defaultValue)
Get an option value from a configurable target.
|
static <T> T |
Channels.getOption(Configurable configurable,
Option<T> option,
T defaultValue)
Get an option value from a configurable target.
|
<T> T |
TranslatingSuspendableChannel.getOption(Option<T> option)
Deprecated.
Get the value of a channel option.
|
<T> T |
SplitStreamSourceChannel.getOption(Option<T> option) |
<T> T |
SplitStreamSinkChannel.getOption(Option<T> option) |
<T> T |
PushBackStreamChannel.getOption(Option<T> option) |
<T> T |
NullStreamSinkChannel.getOption(Option<T> option) |
<T> T |
FixedLengthStreamSourceChannel.getOption(Option<T> option) |
<T> T |
FixedLengthStreamSinkChannel.getOption(Option<T> option) |
<T> T |
EmptyStreamSourceChannel.getOption(Option<T> option) |
<T> T |
Configurable.getOption(Option<T> option)
Get the value of a channel option.
|
<T> T |
AssembledStreamChannel.getOption(Option<T> option) |
<T> T |
AssembledMessageChannel.getOption(Option<T> option) |
<T> T |
AssembledChannel.getOption(Option<T> option) |
<T> T |
TranslatingSuspendableChannel.setOption(Option<T> option,
T value)
Deprecated.
Set an option for this channel.
|
<T> T |
SplitStreamSourceChannel.setOption(Option<T> option,
T value) |
<T> T |
SplitStreamSinkChannel.setOption(Option<T> option,
T value) |
<T> T |
PushBackStreamChannel.setOption(Option<T> option,
T value) |
<T> T |
NullStreamSinkChannel.setOption(Option<T> option,
T value) |
<T> T |
FixedLengthStreamSourceChannel.setOption(Option<T> option,
T value) |
<T> T |
FixedLengthStreamSinkChannel.setOption(Option<T> option,
T value) |
<T> T |
EmptyStreamSourceChannel.setOption(Option<T> option,
T value) |
<T> T |
Configurable.setOption(Option<T> option,
T value)
Set an option for this channel.
|
<T> T |
AssembledStreamChannel.setOption(Option<T> option,
T value) |
<T> T |
AssembledMessageChannel.setOption(Option<T> option,
T value) |
<T> T |
AssembledChannel.setOption(Option<T> option,
T value) |
boolean |
TranslatingSuspendableChannel.supportsOption(Option<?> option)
Deprecated.
Determine whether an option is supported on this channel.
|
boolean |
SplitStreamSourceChannel.supportsOption(Option<?> option) |
boolean |
SplitStreamSinkChannel.supportsOption(Option<?> option) |
boolean |
PushBackStreamChannel.supportsOption(Option<?> option) |
boolean |
NullStreamSinkChannel.supportsOption(Option<?> option) |
boolean |
FixedLengthStreamSourceChannel.supportsOption(Option<?> option) |
boolean |
FixedLengthStreamSinkChannel.supportsOption(Option<?> option) |
boolean |
EmptyStreamSourceChannel.supportsOption(Option<?> option) |
boolean |
Configurable.supportsOption(Option<?> option)
Determine whether an option is supported on this channel.
|
boolean |
AssembledStreamChannel.supportsOption(Option<?> option) |
boolean |
AssembledMessageChannel.supportsOption(Option<?> option) |
boolean |
AssembledChannel.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ConduitWritableMessageChannel.getOption(Option<T> option) |
<T> T |
ConduitStreamSourceChannel.getOption(Option<T> option) |
<T> T |
ConduitStreamSinkChannel.getOption(Option<T> option) |
<T> T |
ConduitReadableMessageChannel.getOption(Option<T> option) |
<T> T |
ConduitWritableMessageChannel.setOption(Option<T> option,
T value) |
<T> T |
ConduitStreamSourceChannel.setOption(Option<T> option,
T value) |
<T> T |
ConduitStreamSinkChannel.setOption(Option<T> option,
T value) |
<T> T |
ConduitReadableMessageChannel.setOption(Option<T> option,
T value) |
boolean |
ConduitWritableMessageChannel.supportsOption(Option<?> option) |
boolean |
ConduitStreamSourceChannel.supportsOption(Option<?> option) |
boolean |
ConduitStreamSinkChannel.supportsOption(Option<?> option) |
boolean |
ConduitReadableMessageChannel.supportsOption(Option<?> option) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JsseSslStreamConnection.getOption(Option<T> option)
Get the value of a channel option.
|
<T> T |
JsseSslConnection.getOption(Option<T> option)
Get the value of a channel option.
|
<T> T |
JsseSslStreamConnection.setOption(Option<T> option,
T value)
Set an option for this channel.
|
<T> T |
JsseSslConnection.setOption(Option<T> option,
T value)
Set an option for this channel.
|
boolean |
JsseSslStreamConnection.supportsOption(Option<?> option)
Determine whether an option is supported on this channel.
|
boolean |
JsseSslConnection.supportsOption(Option<?> option)
Determine whether an option is supported on this channel.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.