Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MultiMap> |
MultiMap.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MultiMap.add(CharSequence name,
CharSequence value)
Like
add(java.lang.String, java.lang.String) but accepting CharSequence as parameters |
MultiMap |
MultiMap.add(CharSequence name,
Iterable<CharSequence> values)
Like
add(java.lang.String, java.lang.String) 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
|
static MultiMap |
MultiMap.newInstance(MultiMap arg) |
MultiMap |
MultiMap.remove(CharSequence name)
Like
remove(java.lang.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(java.lang.String, java.lang.String) but accepting CharSequence as parameters |
MultiMap |
MultiMap.set(CharSequence name,
Iterable<CharSequence> values)
Like
set(java.lang.String, java.lang.String) 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 |
Message.headers()
Multi-map of message headers.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
HttpServerRequest.formAttributes()
Returns a map of all form attributes in the request.
|
MultiMap |
HttpClientResponse.headers() |
MultiMap |
HttpServerResponse.headers() |
MultiMap |
ServerWebSocket.headers()
Returns the HTTP headers when the WebSocket is first obtained in the handler.
|
static MultiMap |
HttpHeaders.headers() |
MultiMap |
HttpClientRequest.headers() |
MultiMap |
WebSocket.headers()
Returns the HTTP headers when the WebSocket is first obtained in the handler.
|
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 |
---|---|
Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
HostAndPort authority,
String path,
MultiMap headers)
Same as
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) but with an handler called when the operation completes |
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
MultiMap headers)
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. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path,
MultiMap headers)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String host,
String path,
MultiMap headers)
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. |
Single<WebSocket> |
HttpClient.rxWebSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols)
Connect a WebSocket with the specified absolute url, with the specified headers, using
the specified version of WebSockets, and the specified WebSocket sub protocols.
|
Completable |
HttpServerResponse.rxWriteEarlyHints(MultiMap headers)
Same as
HttpServerResponse.writeEarlyHints(io.vertx.rxjava3.core.MultiMap) but with an handler called when the operation completes |
Single<WebSocket> |
HttpClient.webSocketAbs(String url,
MultiMap headers,
WebsocketVersion version,
List<String> subProtocols)
Connect a WebSocket with the specified absolute url, with the specified headers, using
the specified version of WebSockets, and the specified WebSocket sub protocols.
|
Completable |
HttpServerResponse.writeEarlyHints(MultiMap headers)
Same as
HttpServerResponse.writeEarlyHints(io.vertx.rxjava3.core.MultiMap) but with an handler called when the operation completes |
Modifier and Type | Method and Description |
---|---|
HttpClientRequest |
HttpClientRequest.earlyHintsHandler(Handler<MultiMap> handler)
If the server responds with an interim HTTP response with a status code of
103 and a Early Hints handler
has been set using this method, then the handler will be called. |
Modifier and Type | Method and Description |
---|---|
MultiMap |
AuthorizationContext.variables() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MailAttachment.getHeaders()
Get the headers to be added for this attachment.
|
Modifier and Type | Method and Description |
---|---|
MailAttachment |
MailAttachment.setHeaders(MultiMap headers)
Set the headers to be added for this attachment.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
RoutingContext.queryParams()
Returns a map of all query parameters inside the query string
The query parameters are lazily decoded: the decoding happens on the first time this method is called. |
MultiMap |
RoutingContext.queryParams(Charset encoding)
Always decode the current query string with the given
encoding . |
Modifier and Type | Method and Description |
---|---|
MultiMap |
HttpRequest.headers() |
MultiMap |
HttpResponse.headers() |
MultiMap |
HttpRequest.queryParams()
Return the current query parameters.
|
MultiMap |
HttpResponse.trailers() |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.putHeaders(MultiMap headers)
Configure the request to add multiple HTTP headers .
|
Single<HttpResponse<T>> |
HttpRequest.rxSendForm(MultiMap body)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.rxSendForm(MultiMap body,
String charset)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.sendForm(MultiMap body)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.sendForm(MultiMap body,
String charset)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Modifier and Type | Method and Description |
---|---|
GraphiQLHandler |
GraphiQLHandler.graphiQLRequestHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
SockJSSocket.headers()
Return the headers corresponding to the last request for this socket or the websocket handshake
Any cookie headers will be removed for security reasons
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
GrpcClientResponse.trailers() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
GrpcReadStream.headers() |
MultiMap |
GrpcWriteStream.headers() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
GrpcServerResponse.trailers() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
ProxyRequest.headers() |
MultiMap |
ProxyResponse.headers() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MqttEndpoint.httpHeaders()
Returns the HTTP headers sent by the client when a WebSocket transport is used otherwise
null |
Copyright © 2024 Eclipse. All rights reserved.