Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.eventbus | |
io.vertx.core.http | |
io.vertx.core.spi.observability |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MultiMap.add(CharSequence name,
CharSequence value)
Like
add(String, String) but accepting CharSequence as parameters |
MultiMap |
MultiMap.add(CharSequence name,
Iterable<CharSequence> values)
Like
add(String, Iterable) but accepting CharSequence as parameters |
MultiMap |
MultiMap.add(String name,
Iterable<String> values)
Adds a new values under the specified name
|
MultiMap |
MultiMap.add(String name,
String value)
Adds a new value with the specified name and value.
|
MultiMap |
MultiMap.addAll(Map<String,String> headers)
Adds all the entries from a Map to this
|
MultiMap |
MultiMap.addAll(MultiMap map)
Adds all the entries from another MultiMap to this one
|
static MultiMap |
MultiMap.caseInsensitiveMultiMap()
Create a multi-map implementation with case insensitive keys, for instance it can be used to hold some HTTP headers.
|
MultiMap |
MultiMap.clear()
Removes all
|
MultiMap |
MultiMap.remove(CharSequence name)
Like
remove(String) but accepting CharSequence as parameters |
MultiMap |
MultiMap.remove(String name)
Removes the value with the given name
|
MultiMap |
MultiMap.set(CharSequence name,
CharSequence value)
Like
set(String, String) but accepting CharSequence as parameters |
MultiMap |
MultiMap.set(CharSequence name,
Iterable<CharSequence> values)
Like
set(String, Iterable) but accepting CharSequence as parameters |
MultiMap |
MultiMap.set(String name,
Iterable<String> values)
Sets values for the specified name.
|
MultiMap |
MultiMap.set(String name,
String value)
Sets a
value under the specified name . |
MultiMap |
MultiMap.setAll(Map<String,String> headers)
Cleans and set all values of the given instance
|
MultiMap |
MultiMap.setAll(MultiMap map)
Cleans this instance.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
MultiMap.addAll(MultiMap map)
Adds all the entries from another MultiMap to this one
|
MultiMap |
MultiMap.setAll(MultiMap map)
Cleans this instance.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
DeliveryOptions.getHeaders()
Get the message headers
|
MultiMap |
Message.headers()
Multi-map of message headers.
|
Modifier and Type | Method and Description |
---|---|
DeliveryOptions |
DeliveryOptions.setHeaders(MultiMap headers)
Set message headers from a multi-map.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
HttpServerRequest.formAttributes()
Returns a map of all form attributes in the request.
|
MultiMap |
RequestOptions.getHeaders()
Get the request headers
|
MultiMap |
HttpClientResponse.headers() |
MultiMap |
HttpServerResponse.headers() |
static MultiMap |
HttpHeaders.headers() |
MultiMap |
HttpClientRequest.headers() |
MultiMap |
HttpServerRequest.headers() |
MultiMap |
WebSocketBase.headers()
Returns the HTTP headers when the WebSocket is first obtained in the handler.
|
MultiMap |
HttpServerRequest.params() |
static MultiMap |
HttpHeaders.set(CharSequence name,
CharSequence value) |
static MultiMap |
HttpHeaders.set(String name,
String value) |
MultiMap |
HttpClientResponse.trailers() |
MultiMap |
HttpServerResponse.trailers() |
Modifier and Type | Method and Description |
---|---|
default Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers)
Same as
HttpServerResponse.push(HttpMethod, String, MultiMap, Handler) but with an handler called when the operation completes |
default HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(HttpMethod, String, String, MultiMap, Handler) with the host copied from the current request. |
Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
MultiMap headers)
Same as
HttpServerResponse.push(HttpMethod, String, String, MultiMap, Handler) but with an handler called when the operation completes |
default HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
MultiMap headers,
Handler<AsyncResult<HttpServerResponse>> handler)
Push a response to the client.
The
handler will be notified with a success when the push can be sent and with
a failure when the client has disabled push or reset the push before it has been sent.
The handler may be queued if the client has reduced the maximum number of streams the server can push
concurrently.
Push can be sent only for peer initiated streams and if the response is not ended. |
WebSocketConnectOptions |
WebSocketConnectOptions.setHeaders(MultiMap headers) |
RequestOptions |
RequestOptions.setHeaders(MultiMap headers)
Set request headers from a multi-map.
|
Future<WebSocket> |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols)
Like
HttpClient.webSocketAbs(String, MultiMap, WebsocketVersion, List, Handler) but returns a Future of the asynchronous result |
void |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols,
Handler<AsyncResult<WebSocket>> handler)
Connect a WebSocket with the specified absolute url, with the specified headers, using
the specified version of WebSockets, and the specified WebSocket sub protocols.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
HttpRequest.headers() |
MultiMap |
HttpResponse.headers() |
Copyright © 2021 Eclipse. All rights reserved.