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
The 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() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
AuthorizationContext.variables() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
OAuth2Response.headers()
Deprecated.
The HTTP response headers from the HTTP layer.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
MailAttachment.getHeaders()
Get the headers to be added for this attachment.
|
MultiMap |
MailMessage.getHeaders()
Get the headers.
|
Modifier and Type | Method and Description |
---|---|
MailAttachment |
MailAttachment.setHeaders(MultiMap headers)
Set the headers to be added for this attachment.
|
MailMessage |
MailMessage.setHeaders(MultiMap headers)
Set the headers.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
EncodedPart.headers() |
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 |
OperationRequest.getHeaders()
Deprecated.
Get request headers
|
MultiMap |
OperationResponse.getHeaders()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OperationRequest |
OperationRequest.setHeaders(MultiMap headers)
Deprecated.
|
OperationResponse |
OperationResponse.setHeaders(MultiMap headers)
Deprecated.
|
Constructor and Description |
---|
OperationRequest(JsonObject params,
MultiMap headers,
JsonObject user,
JsonObject extra)
Deprecated.
|
OperationResponse(Integer statusCode,
String statusMessage,
Buffer payload,
MultiMap headers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MultiMap |
ServiceResponse.getHeaders() |
MultiMap |
ServiceRequest.getHeaders()
Get request headers
|
Modifier and Type | Method and Description |
---|---|
ServiceResponse |
ServiceResponse.setHeaders(MultiMap headers) |
ServiceRequest |
ServiceRequest.setHeaders(MultiMap headers) |
Constructor and Description |
---|
ServiceRequest(JsonObject params,
MultiMap headers,
JsonObject user,
JsonObject extra) |
ServiceResponse(Integer statusCode,
String statusMessage,
Buffer payload,
MultiMap headers) |
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 .
|
default Future<HttpResponse<T>> |
HttpRequest.sendForm(MultiMap body) |
void |
HttpRequest.sendForm(MultiMap body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
default Future<HttpResponse<T>> |
HttpRequest.sendForm(MultiMap body,
String charset) |
void |
HttpRequest.sendForm(MultiMap body,
String charset,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(Handler) 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 |
ProxyRequest.headers() |
MultiMap |
ProxyResponse.headers() |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MultiMap.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MultiMap |
MultiMap.newInstance(MultiMap arg) |
Constructor and Description |
---|
MultiMap(MultiMap delegate) |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MultiMap.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MultiMap |
MultiMap.newInstance(MultiMap arg) |
Constructor and Description |
---|
MultiMap(MultiMap delegate) |
Modifier and Type | Method and Description |
---|---|
MultiMap |
MultiMap.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MultiMap |
MultiMap.newInstance(MultiMap arg) |
Constructor and Description |
---|
MultiMap(MultiMap delegate) |
Copyright © 2021 Eclipse. All rights reserved.