Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.core.net | |
io.vertx.httpproxy | |
io.vertx.reactivex.core.net | |
io.vertx.rxjava.core.net | |
io.vertx.rxjava3.core.net |
Modifier and Type | Method and Description |
---|---|
HostAndPort |
ServerWebSocket.authority() |
HostAndPort |
ServerWebSocketHandshake.authority() |
HostAndPort |
HttpServerRequest.authority() |
Modifier and Type | Method and Description |
---|---|
HttpClientRequest |
HttpClientRequest.authority(HostAndPort authority)
Override the request authority, when using HTTP/1.x this overrides the request
host header, when using
HTTP/2 this sets the authority pseudo header. |
Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
HostAndPort authority,
String path,
MultiMap headers)
Same as
HttpServerResponse.push(HttpMethod, String, String, MultiMap, Handler) but with an handler called when the operation completes |
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
HostAndPort.authority(String host)
Like
authority(String, int) without a port, -1 is used instead. |
static HostAndPort |
HostAndPort.authority(String host,
int port)
Create an instance with a valid
host for a valid authority: the host must
match the host rule of rfc3986. |
static HostAndPort |
HostAndPort.create(String host,
int port)
Create an arbitrary instance.
|
static HostAndPort |
HostAndPort.parseAuthority(String string,
int schemePort)
Parse an authority HTTP header, that is host [':' port], according to
rfc3986.
|
Modifier and Type | Method and Description |
---|---|
HostAndPort |
ProxyRequest.getAuthority() |
Modifier and Type | Method and Description |
---|---|
ProxyRequest |
ProxyRequest.setAuthority(HostAndPort authority)
Set the request authority
for HTTP/1 the Host header
for HTTP/2 the :authority pseudo header
The value must follow the <host>:<port> syntax.
|
Modifier and Type | Method and Description |
---|---|
HostAndPort |
HostAndPort.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
HostAndPort.newInstance(HostAndPort arg) |
Constructor and Description |
---|
HostAndPort(HostAndPort delegate) |
Modifier and Type | Method and Description |
---|---|
HostAndPort |
HostAndPort.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
HostAndPort.newInstance(HostAndPort arg) |
Constructor and Description |
---|
HostAndPort(HostAndPort delegate) |
Modifier and Type | Method and Description |
---|---|
HostAndPort |
HostAndPort.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HostAndPort |
HostAndPort.newInstance(HostAndPort arg) |
Constructor and Description |
---|
HostAndPort(HostAndPort delegate) |
Copyright © 2024 Eclipse. All rights reserved.