Package | Description |
---|---|
org.xnio.http |
Modifier and Type | Method and Description |
---|---|
static <T extends StreamConnection> |
HttpUpgrade.performUpgrade(T connection,
URI uri,
Map<String,String> headers,
ChannelListener<? super StreamConnection> openListener,
HandshakeChecker handshakeChecker)
Performs a HTTP upgrade on an existing connection.
|
static IoFuture<StreamConnection> |
HttpUpgrade.performUpgrade(XnioWorker worker,
InetSocketAddress bindAddress,
URI uri,
Map<String,String> headers,
ChannelListener<? super StreamConnection> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap,
HandshakeChecker handshakeChecker)
Connects to the target server using HTTP upgrade.
|
static IoFuture<SslConnection> |
HttpUpgrade.performUpgrade(XnioWorker worker,
XnioSsl ssl,
InetSocketAddress bindAddress,
URI uri,
Map<String,String> headers,
ChannelListener<? super SslConnection> openListener,
ChannelListener<? super BoundChannel> bindListener,
OptionMap optionMap,
HandshakeChecker handshakeChecker)
Perform a HTTP upgrade that results in a SSL secured connection.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.