Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.core.spi.metrics | |
io.vertx.core.spi.observability |
Modifier and Type | Field and Description |
---|---|
static HttpMethod |
HttpMethod.ACL
The RFC 3744
ACL method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.BASELINE_CONTROL
The RFC 3253
BASELINE_CONTROL method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.CHECKIN
The RFC 3253
CHECKIN method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.CHECKOUT
The RFC 3253
CHECKOUT method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.CONNECT
The RFC 2616
CONNECT method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.COPY
The RFC 2518/4918
COPY method, this instance is interned and uniquely used. |
static HttpMethod |
RequestOptions.DEFAULT_HTTP_METHOD
The default value for HTTP method =
GET |
static HttpMethod |
HttpMethod.DELETE
The RFC 2616
DELETE method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.GET
The RFC 2616
GET method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.HEAD
The RFC 2616
HEAD method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.LABEL
The RFC 3253
LABEL method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.LOCK
The RFC 2518/4918
LOCK method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.MERGE
The RFC 3253
MERGE method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.MKACTIVITY
The RFC 3253
MKACTIVITY method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.MKCALENDAR
The RFC 4791
MKCALENDAR method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.MKCOL
The RFC 2518/4918
MKCOL method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.MKWORKSPACE
The RFC 3253
MKWORKSPACE method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.MOVE
The RFC 2518/4918
MOVE method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.OPTIONS
The RFC 2616
OPTIONS method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.ORDERPATCH
The RFC 3648
ORDERPATCH method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.PATCH
The RFC 5789
PATCH method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.POST
The {RFC 2616 @code POST} method, this instance is interned and uniquely used.
|
static HttpMethod |
HttpMethod.PROPFIND
The RFC 2518/4918
PROPFIND method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.PROPPATCH
The RFC 2518/4918
PROPPATCH method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.PUT
The RFC 2616
PUT method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.REPORT
The RFC 3253
REPORT method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.SEARCH
The RFC 5323
SEARCH method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.TRACE
The RFC 2616
TRACE method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.UNCHECKOUT
The RFC 3253
UNCHECKOUT method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.UNLOCK
The RFC 2518/4918
UNLOCK method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.UPDATE
The RFC 3253
UPDATE method, this instance is interned and uniquely used. |
static HttpMethod |
HttpMethod.VERSION_CONTROL
The RFC 3253
VERSION_CONTROL method, this instance is interned and uniquely used. |
Modifier and Type | Method and Description |
---|---|
static HttpMethod |
HttpMethod.fromNetty(io.netty.handler.codec.http.HttpMethod method)
Lookup the
HttpMethod value for the specified nettyMethod . |
HttpMethod |
HttpClientRequest.getMethod()
The HTTP method for the request.
|
HttpMethod |
RequestOptions.getMethod()
Get the HTTP method to be used by the client request.
|
HttpMethod |
HttpServerRequest.method() |
static HttpMethod |
HttpMethod.valueOf(String value)
Lookup the
HttpMethod value for the specified value . |
Modifier and Type | Method and Description |
---|---|
static List<HttpMethod> |
HttpMethod.values() |
Modifier and Type | Method and Description |
---|---|
default Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String path)
Same as
HttpServerResponse.push(HttpMethod, String, Handler) but with an handler called when the operation completes |
default HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(HttpMethod, String, String, MultiMap, Handler) with the host copied from the current request. |
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. |
default Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String host,
String path)
Same as
HttpServerResponse.push(HttpMethod, String, String, Handler) but with an handler called when the operation completes |
default HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(HttpMethod, String, String, MultiMap, Handler) with no headers. |
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. |
Future<HttpClientRequest> |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Like
HttpClient.request(HttpMethod, int, String, String, Handler) but returns a Future of the asynchronous result |
void |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server at the
host and port . |
Future<HttpClientRequest> |
HttpClient.request(HttpMethod method,
String requestURI)
Like
HttpClient.request(HttpMethod, String, Handler) but returns a Future of the asynchronous result |
void |
HttpClient.request(HttpMethod method,
String requestURI,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server at the default host and port.
|
Future<HttpClientRequest> |
HttpClient.request(HttpMethod method,
String host,
String requestURI)
Like
HttpClient.request(HttpMethod, String, String, Handler) but returns a Future of the asynchronous result |
void |
HttpClient.request(HttpMethod method,
String host,
String requestURI,
Handler<AsyncResult<HttpClientRequest>> handler)
Create an HTTP request to send to the server at the
host and default port. |
HttpClientRequest |
HttpClientRequest.setMethod(HttpMethod method)
Set the HTTP method for this request.
|
RequestOptions |
RequestOptions.setMethod(HttpMethod method)
Set the HTTP method to be used by the client request.
|
Modifier and Type | Method and Description |
---|---|
default R |
HttpServerMetrics.responsePushed(S socketMetric,
HttpMethod method,
String uri,
HttpResponse response)
Called when an http server response is pushed.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpRequest.method() |
Copyright © 2020 Eclipse. All rights reserved.