- canSend() - Method in interface org.apache.hc.client5.http.websocket.transport.OutboundFlowSupport.SendGate
-
- close(int, String) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocket
-
Initiates the WebSocket close handshake.
- close(CloseMode) - Method in class org.apache.hc.client5.http.websocket.client.impl.DefaultWebSocketClient
-
- close() - Method in class org.apache.hc.client5.http.websocket.client.impl.DefaultWebSocketClient
-
- close() - Method in class org.apache.hc.core5.websocket.extension.ExtensionChain.DecodeChain
-
Releases native resources held by the decoders in this chain.
- close() - Method in class org.apache.hc.core5.websocket.extension.ExtensionChain.EncodeChain
-
Releases native resources held by the encoders in this chain.
- close() - Method in interface org.apache.hc.core5.websocket.extension.WebSocketExtensionChain.Decoder
-
Releases any native resources held by this decoder (e.g. an Inflater).
- close() - Method in interface org.apache.hc.core5.websocket.extension.WebSocketExtensionChain.Encoder
-
Releases any native resources held by this encoder (e.g. a Deflater).
- CLOSE - Static variable in class org.apache.hc.core5.websocket.frame.FrameOpcode
-
- close(int, String) - Method in class org.apache.hc.core5.websocket.frame.WebSocketFrameWriter
-
- close() - Method in class org.apache.hc.core5.websocket.PerMessageDeflateExtension
-
- close() - Method in interface org.apache.hc.core5.websocket.WebSocketExtension
-
Releases any native resources held by this extension (e.g. a Deflater or
Inflater).
- close() - Method in class org.apache.hc.core5.websocket.WebSocketExtensionNegotiation
-
Releases the native resources held by the negotiated extensions.
- close(int, String) - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- close(WebSocketCloseStatus) - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- CloseableWebSocketClient - Class in org.apache.hc.client5.http.websocket.client
-
Public WebSocket client API mirroring CloseableHttpAsyncClient's shape.
- CloseableWebSocketClient() - Constructor for class org.apache.hc.client5.http.websocket.client.CloseableWebSocketClient
-
- closeCode - Variable in exception org.apache.hc.core5.websocket.exceptions.WebSocketProtocolException
-
- CloseCodec - Class in org.apache.hc.core5.websocket.message
-
Helpers for RFC6455 CLOSE parsing and validation.
- closeEcho(ByteBuffer) - Method in class org.apache.hc.core5.websocket.frame.WebSocketFrameWriter
-
- closeGracefully() - Method in class org.apache.hc.client5.http.websocket.transport.DataStreamChannelTransport
-
- closeGracefully() - Method in interface org.apache.hc.client5.http.websocket.transport.WebSocketTransport
-
Initiate a graceful shutdown of the transport.
- closeQuietly() - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- connect(URI, WebSocketListener) - Method in class org.apache.hc.client5.http.websocket.client.CloseableWebSocketClient
-
Convenience overload that uses the client's default configuration and
a fresh
HttpCoreContext.
- connect(URI, WebSocketListener, WebSocketClientConfig) - Method in class org.apache.hc.client5.http.websocket.client.CloseableWebSocketClient
-
- connect(URI, WebSocketListener, WebSocketClientConfig, HttpContext) - Method in class org.apache.hc.client5.http.websocket.client.CloseableWebSocketClient
-
Initiates an asynchronous WebSocket connection to the given target URI.
- connect(HttpHost, Timeout, Object, FutureCallback<WebSocketEndpointConnector.ProtoEndpoint>) - Method in class org.apache.hc.client5.http.websocket.client.impl.connector.WebSocketEndpointConnector
-
- connect(URI, WebSocketListener, WebSocketClientConfig, HttpContext) - Method in class org.apache.hc.client5.http.websocket.client.impl.connector.WebSocketProtocolConnector
-
- connect(URI, WebSocketListener, WebSocketClientConfig, HttpContext) - Method in class org.apache.hc.client5.http.websocket.client.impl.protocol.Http1UpgradeProtocol
-
- connect(URI, WebSocketListener, WebSocketClientConfig, HttpContext) - Method in class org.apache.hc.client5.http.websocket.client.impl.protocol.Http2ExtendedConnectProtocol
-
- connect(URI, WebSocketListener, WebSocketClientConfig, HttpContext) - Method in interface org.apache.hc.client5.http.websocket.client.impl.protocol.WebSocketProtocolStrategy
-
Establish a WebSocket connection using a specific HTTP transport/protocol.
- connect(URI, WebSocketListener, WebSocketClientConfig, HttpContext) - Method in interface org.apache.hc.client5.http.websocket.client.WebSocketClient
-
Initiates an asynchronous WebSocket connection to the given target URI.
- connected(IOSession) - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketIoHandler
-
- CONNECTION - Static variable in class org.apache.hc.core5.websocket.server.WebSocketContextKeys
-
- CONT - Static variable in class org.apache.hc.core5.websocket.frame.FrameOpcode
-
- create() - Static method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Creates a new WebSocketClientBuilder instance.
- create(WebSocketExtensionData, boolean) - Method in class org.apache.hc.core5.websocket.PerMessageDeflateExtensionFactory
-
- create() - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- create() - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- create(WebSocketExtensionData, boolean) - Method in interface org.apache.hc.core5.websocket.WebSocketExtensionFactory
-
- createAcceptKey(String) - Static method in class org.apache.hc.core5.websocket.WebSocketHandshake
-
- createDefault() - Static method in class org.apache.hc.client5.http.websocket.client.WebSocketClients
-
- createDefault() - Static method in class org.apache.hc.core5.websocket.WebSocketExtensionRegistry
-
- createWith(WebSocketClientConfig) - Static method in class org.apache.hc.client5.http.websocket.client.WebSocketClients
-
- custom() - Static method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Creates a new builder instance with default settings.
- custom() - Static method in class org.apache.hc.client5.http.websocket.client.WebSocketClients
-
- custom() - Static method in class org.apache.hc.core5.websocket.WebSocketConfig
-
- initiateShutdown() - Method in class org.apache.hc.client5.http.websocket.client.CloseableWebSocketClient
-
Initiate shutdown (non-blocking).
- initiateShutdown() - Method in class org.apache.hc.client5.http.websocket.client.impl.DefaultWebSocketClient
-
- initiateShutdown() - Method in class org.apache.hc.core5.websocket.server.WebSocketH2Server
-
- initiateShutdown() - Method in class org.apache.hc.core5.websocket.server.WebSocketServer
-
- inputReady(IOSession, ByteBuffer) - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketIoHandler
-
- INSTANCE - Static variable in class org.apache.hc.client5.http.websocket.client.impl.logging.WsLoggingExceptionCallback
-
Singleton instance of LoggingExceptionCallback.
- isAutoPong() - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Whether the client automatically responds to PING frames with a PONG frame.
- isClientNoContextTakeover() - Method in class org.apache.hc.core5.websocket.extension.PerMessageDeflate
-
- isConnected() - Method in class org.apache.hc.client5.http.websocket.client.impl.connector.WebSocketEndpointConnector.ProtoEndpoint
-
- isContinuation(int) - Static method in class org.apache.hc.core5.websocket.frame.FrameOpcode
-
Continuation opcode.
- isControl(int) - Static method in class org.apache.hc.core5.websocket.frame.FrameOpcode
-
Control frames have the high bit set in the low nibble (0x8–0xF).
- isControl() - Method in enum org.apache.hc.core5.websocket.WebSocketFrameType
-
- isData(int) - Static method in class org.apache.hc.core5.websocket.frame.FrameOpcode
-
Data opcodes (not continuation).
- isDirectBuffers() - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Whether direct byte buffers are preferred for internal I/O.
- isEmpty() - Method in class org.apache.hc.core5.websocket.extension.ExtensionChain
-
- isEnabled() - Method in class org.apache.hc.core5.websocket.extension.PerMessageDeflate
-
- isEndStreamPending() - Method in class org.apache.hc.client5.http.websocket.transport.DataStreamChannelTransport
-
- isFallbackCandidate(Throwable) - Method in class org.apache.hc.client5.http.websocket.client.impl.protocol.Http2ExtendedConnectProtocol
-
- isFallbackCandidate(Throwable) - Method in interface org.apache.hc.client5.http.websocket.client.impl.protocol.WebSocketProtocolStrategy
-
Returns true if the given failure is a candidate for
protocol fallback (e.g.
- isFin() - Method in class org.apache.hc.core5.websocket.WebSocketFrame
-
- isHttp2Enabled() - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Returns true if HTTP/2 Extended CONNECT (RFC 8441) is enabled.
- isOfferClientNoContextTakeover() - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Whether the client offers the client_no_context_takeover PMCE parameter.
- isOfferServerNoContextTakeover() - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Whether the client offers the server_no_context_takeover PMCE parameter.
- isOpen() - Method in interface org.apache.hc.client5.http.websocket.api.WebSocket
-
Returns true if the WebSocket is still open and not in the
process of closing.
- isPerMessageDeflateEnabled() - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig
-
Whether the client offers the permessage-deflate extension during the handshake.
- isRsv1() - Method in class org.apache.hc.core5.websocket.WebSocketFrame
-
- isRsv2() - Method in class org.apache.hc.core5.websocket.WebSocketFrame
-
- isRsv3() - Method in class org.apache.hc.core5.websocket.WebSocketFrame
-
- isServerNoContextTakeover() - Method in class org.apache.hc.core5.websocket.extension.PerMessageDeflate
-
- isValidToReceive(int) - Static method in class org.apache.hc.core5.websocket.message.CloseCodec
-
Validate a code we PARSED FROM THE WIRE (receiver-side).
- isValidToSend(int) - Static method in class org.apache.hc.core5.websocket.message.CloseCodec
-
Validate a code we intend to PUT ON THE WIRE (sender-side).
- isWebSocketUpgrade(HttpRequest) - Static method in class org.apache.hc.core5.websocket.WebSocketHandshake
-
- offerClientNoContextTakeover(boolean) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Offers client_no_context_takeover in the PMCE offer.
- offerServerMaxWindowBits(Integer) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Offers server_max_window_bits in the PMCE offer.
- offerServerNoContextTakeover(boolean) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Offers server_no_context_takeover in the PMCE offer.
- onBinary(ByteBuffer, boolean) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when a complete binary message has been received.
- onBinary(WebSocketSession, ByteBuffer) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- onClose(int, String) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when the WebSocket has been closed.
- onClose(WebSocketSession, int, String) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- onData(ByteBuffer) - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketSessionEngine
-
Push received bytes into the engine for frame decoding and dispatch.
- onDisconnected() - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketSessionEngine
-
Called when the underlying transport disconnects or the stream ends
without a proper close handshake.
- onError(Throwable) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when a fatal error occurs on the WebSocket connection.
- onError(Exception) - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketSessionEngine
-
Called when the transport signals an error.
- onError(WebSocketSession, Exception) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- onOpen(WebSocket) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when the WebSocket connection has been established.
- onOpen(WebSocketSession) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- onOutputReady() - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketSessionEngine
-
Drain the outbound queues into the transport.
- onPing(ByteBuffer) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when a PING control frame is received.
- onPing(WebSocketSession, ByteBuffer) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- onPong(ByteBuffer) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when a PONG control frame is received.
- onPong(WebSocketSession, ByteBuffer) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- onText(CharBuffer, boolean) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocketListener
-
Invoked when a complete text message has been received.
- onText(WebSocketSession, String) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- opcode() - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketFrameDecoder
-
- org.apache.hc.client5.http.websocket - package org.apache.hc.client5.http.websocket
-
Client-side WebSocket support built on top of Apache HttpClient.
- org.apache.hc.client5.http.websocket.api - package org.apache.hc.client5.http.websocket.api
-
Public WebSocket API for client applications.
- org.apache.hc.client5.http.websocket.client - package org.apache.hc.client5.http.websocket.client
-
High-level asynchronous WebSocket client.
- org.apache.hc.client5.http.websocket.client.impl - package org.apache.hc.client5.http.websocket.client.impl
-
Public WebSocket API for client applications.
- org.apache.hc.client5.http.websocket.client.impl.connector - package org.apache.hc.client5.http.websocket.client.impl.connector
-
Message-level helpers and codecs.
- org.apache.hc.client5.http.websocket.client.impl.logging - package org.apache.hc.client5.http.websocket.client.impl.logging
-
Message-level helpers and codecs.
- org.apache.hc.client5.http.websocket.client.impl.protocol - package org.apache.hc.client5.http.websocket.client.impl.protocol
-
Message-level helpers and codecs.
- org.apache.hc.client5.http.websocket.transport - package org.apache.hc.client5.http.websocket.transport
-
Integration with Apache HttpCore I/O reactor.
- org.apache.hc.core5.websocket - package org.apache.hc.core5.websocket
-
WebSocket protocol support and helpers.
- org.apache.hc.core5.websocket.exceptions - package org.apache.hc.core5.websocket.exceptions
-
WebSocket-specific exception types.
- org.apache.hc.core5.websocket.extension - package org.apache.hc.core5.websocket.extension
-
WebSocket extension SPI and implementations.
- org.apache.hc.core5.websocket.frame - package org.apache.hc.core5.websocket.frame
-
Low-level WebSocket frame helpers.
- org.apache.hc.core5.websocket.message - package org.apache.hc.core5.websocket.message
-
Message-level helpers and codecs.
- org.apache.hc.core5.websocket.server - package org.apache.hc.core5.websocket.server
-
- OutboundFlowSupport - Class in org.apache.hc.client5.http.websocket.transport
-
Shared outbound queue and fragmentation helpers used by HTTP/1.1 and HTTP/2 WebSocket transports.
- OutboundFlowSupport.FrameEnqueuer - Interface in org.apache.hc.client5.http.websocket.transport
-
- OutboundFlowSupport.SendGate - Interface in org.apache.hc.client5.http.websocket.transport
-
- OutboundFlowSupport.SendResult - Class in org.apache.hc.client5.http.websocket.transport
-
- outputReady(IOSession) - Method in class org.apache.hc.client5.http.websocket.transport.WebSocketIoHandler
-
- SEC_WEBSOCKET_ACCEPT - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_EXTENSIONS - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_EXTENSIONS_LOWER - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_KEY - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_PROTOCOL - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_PROTOCOL_LOWER - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_VERSION - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- SEC_WEBSOCKET_VERSION_LOWER - Static variable in class org.apache.hc.core5.websocket.WebSocketConstants
-
- selectSubprotocol(List<String>) - Method in interface org.apache.hc.core5.websocket.WebSocketHandler
-
- sendBinary(ByteBuffer, boolean) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocket
-
Sends a binary message fragment.
- sendBinary(ByteBuffer) - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- sendBinaryBatch(List<ByteBuffer>, boolean) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocket
-
Sends a batch of binary fragments as a single message.
- sendFragmented(int, int, ByteBuffer, boolean, int, boolean, OutboundFlowSupport.SendGate, OutboundFlowSupport.FrameEnqueuer) - Static method in class org.apache.hc.client5.http.websocket.transport.OutboundFlowSupport
-
- sendPing(ByteBuffer) - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- sendPong(ByteBuffer) - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- sendText(CharSequence, boolean) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocket
-
Sends a text message fragment.
- sendText(String) - Method in class org.apache.hc.core5.websocket.WebSocketSession
-
- sendTextBatch(List<CharSequence>, boolean) - Method in interface org.apache.hc.client5.http.websocket.api.WebSocket
-
Sends a batch of text fragments as a single message.
- setAuthorityResolver(BiFunction<String, URIAuthority, URIAuthority>) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setAutoPong(boolean) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Enables or disables automatic PONG replies for received PING frames.
- setCanonicalHostName(String) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setCanonicalHostName(String) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setChannel(DataStreamChannel) - Method in class org.apache.hc.client5.http.websocket.transport.DataStreamChannelTransport
-
- setCharCodingConfig(CharCodingConfig) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the character coding configuration for HTTP message processing.
- setCharCodingConfig(CharCodingConfig) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setCharCodingConfig(CharCodingConfig) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setCloseWaitTimeout(Timeout) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the close handshake wait timeout.
- setConnectionFactory(HttpConnectionFactory<? extends WebSocketServerConnection>) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setConnectionReuseStrategy(ConnectionReuseStrategy) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the connection reuse strategy for persistent HTTP connections.
- setConnectionReuseStrategy(ConnectionReuseStrategy) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setConnectTimeout(Timeout) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the timeout used to establish the initial TCP/TLS connection.
- setConnPoolListener(ConnPoolListener<HttpHost>) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets a listener for connection pool events.
- setDefaultMaxPerRoute(int) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the default maximum number of connections per route.
- setDirectBuffers(boolean) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Enables or disables the use of direct buffers for internal I/O.
- setExceptionCallback(Callback<Exception>) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets a callback to be notified of fatal I/O exceptions.
- setExceptionListener(ExceptionListener) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setExecutor(Executor) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setExtensionRegistry(WebSocketExtensionRegistry) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setExtensionRegistry(WebSocketExtensionRegistry) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setH2Config(H2Config) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the HTTP/2 configuration for the underlying H2 requester.
- setH2Config(H2Config) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setH2HttpProcessor(HttpProcessor) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
- setH2StreamListener(H2StreamListener) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setHandshakeTimeout(Timeout) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setHttp1Config(Http1Config) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the HTTP/1.1 configuration for the underlying requester.
- setHttp1Config(Http1Config) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setHttp1Config(Http1Config) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setHttp1StreamListener(Http1StreamListener) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setHttpProcessor(HttpProcessor) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
- setHttpProcessor(HttpProcessor) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setHttpProcessor(HttpProcessor) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setIOReactorConfig(IOReactorConfig) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the I/O reactor configuration.
- setIOReactorConfig(IOReactorConfig) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setIOSessionDecorator(Decorator<IOSession>) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets a decorator for low-level I/O sessions created by the reactor.
- setIOSessionListener(IOSessionListener) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets a listener for I/O session lifecycle events.
- setListenerPort(int) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setListenerPort(int) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setLocalAddress(InetAddress) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setLocalAddress(InetAddress) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setMaxFramePayloadSize(int) - Method in class org.apache.hc.core5.websocket.WebSocketConfig.Builder
-
- setMaxFrameSize(int) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the maximum accepted frame payload size.
- setMaxFramesPerTick(int) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the limit of frames written per reactor tick.
- setMaxMessageSize(long) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the maximum accepted message size.
- setMaxMessageSize(int) - Method in class org.apache.hc.core5.websocket.WebSocketConfig.Builder
-
- setMaxOutboundControlQueue(int) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the maximum number of queued outbound control frames.
- setMaxOutboundDataBytes(long) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the maximum number of bytes that can be queued for outbound data frames.
- setMaxPendingCommandsPerConnection(int) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the maximum number of pending commands per HTTP/1.1 connection.
- setMaxTotal(int) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the maximum total number of connections in the pool.
- setOutgoingChunkSize(int) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the preferred outgoing fragmentation chunk size.
- setPoolConcurrencyPolicy(PoolConcurrencyPolicy) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the concurrency policy for the connection pool.
- setPoolReusePolicy(PoolReusePolicy) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the reuse policy for connections in the pool.
- setReactorMetricsListener(IOReactorMetricsListener) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets a metrics listener for the I/O reactor.
- setRequestRouter(HttpRequestMapper<Supplier<WebSocketHandler>>) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setRsvOnFirst - Variable in class org.apache.hc.core5.websocket.extension.WebSocketExtensionChain.Encoded
-
- setServerSocketFactory(ServerSocketFactory) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setSocketConfig(SocketConfig) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setSslContext(SSLContext) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setSslSetupHandler(Callback<SSLParameters>) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setStreamListener(Http1StreamListener) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets a listener for HTTP/1.1 stream events.
- setStreamListener(Http1StreamListener) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- setSubprotocols(List<String>) - Method in class org.apache.hc.client5.http.websocket.api.WebSocketClientConfig.Builder
-
Sets the ordered list of subprotocols offered to the server.
- setThreadFactory(ThreadFactory) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the thread factory used to create the main I/O reactor thread.
- setTimeout(Timeout) - Method in class org.apache.hc.client5.http.websocket.transport.DataStreamChannelTransport
-
- setTimeout(Timeout) - Method in interface org.apache.hc.client5.http.websocket.transport.WebSocketTransport
-
Set the I/O timeout on the underlying transport.
- setTimeToLive(Timeout) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the time-to-live for persistent connections in the pool.
- setTlsHandshakeTimeout(Timeout) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the timeout for the TLS handshake.
- setTlsStrategy(TlsStrategy) - Method in class org.apache.hc.client5.http.websocket.client.WebSocketClientBuilder
-
Sets the TLS strategy used to establish HTTPS or WSS connections.
- setTlsStrategy(TlsStrategy) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setVersionPolicy(HttpVersionPolicy) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setWebSocketConfig(WebSocketConfig) - Method in class org.apache.hc.core5.websocket.server.WebSocketH2ServerBootstrap
-
- setWebSocketConfig(WebSocketConfig) - Method in class org.apache.hc.core5.websocket.server.WebSocketServerBootstrap
-
- start() - Method in class org.apache.hc.client5.http.websocket.client.CloseableWebSocketClient
-
Start underlying I/O.
- start() - Method in class org.apache.hc.client5.http.websocket.client.impl.DefaultWebSocketClient
-
- start() - Method in class org.apache.hc.core5.websocket.server.WebSocketH2Server
-
- start() - Method in class org.apache.hc.core5.websocket.server.WebSocketServer
-
- stop() - Method in class org.apache.hc.core5.websocket.server.WebSocketH2Server
-
- stop() - Method in class org.apache.hc.core5.websocket.server.WebSocketServer
-