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() |
Modifier and Type | Method and Description |
---|---|
default Credentials |
Credentials.applyHttpChallenge(String challenge,
HttpMethod method,
String uri)
Applies the HTTP Authorization challenge to this Credential instance.
|
TokenCredentials |
TokenCredentials.applyHttpChallenge(String challenge,
HttpMethod method,
String uri,
Integer nc,
String cnonce) |
default Credentials |
Credentials.applyHttpChallenge(String challenge,
HttpMethod method,
String uri,
Integer nc,
String cnonce)
Applies the HTTP Authorization challenge to this Credential instance.
|
UsernamePasswordCredentials |
UsernamePasswordCredentials.applyHttpChallenge(String challenge,
HttpMethod method,
String uri,
Integer nc,
String cnonce) |
Modifier and Type | Method and Description |
---|---|
HtdigestCredentials |
HtdigestCredentials.applyHttpChallenge(String challenge,
HttpMethod method,
String uri,
Integer nc,
String cnonce) |
Modifier and Type | Method and Description |
---|---|
Set<HttpMethod> |
Route.methods() |
Modifier and Type | Method and Description |
---|---|
Route |
Route.method(HttpMethod method)
Add an HTTP method for this route.
|
void |
RoutingContext.reroute(HttpMethod method,
String path)
Restarts the current router with a new method and path.
|
Route |
Router.route(HttpMethod method,
String path)
Add a route that matches the specified HTTP method and path
|
Route |
Router.routeWithRegex(HttpMethod method,
String regex)
Add a route that matches the specified HTTP method and path regex
|
Modifier and Type | Field and Description |
---|---|
static Set<HttpMethod> |
CachingWebClientOptions.DEFAULT_CACHED_METHODS |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpRequest.method() |
Modifier and Type | Method and Description |
---|---|
Set<HttpMethod> |
CachingWebClientOptions.getCachedMethods() |
Modifier and Type | Method and Description |
---|---|
CachingWebClientOptions |
CachingWebClientOptions.addCachedMethod(HttpMethod method)
Add an HTTP method that is cacheable.
|
HttpRequest<T> |
HttpRequest.method(HttpMethod value)
Configure the request to use a new method
value . |
CachingWebClientOptions |
CachingWebClientOptions.removeCachedMethod(HttpMethod method)
Remove an HTTP method that is cacheable.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
WebClient.request(HttpMethod, int, String, String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
UriTemplate requestURI)
Like
WebClient.request(HttpMethod, int, String, UriTemplate) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(HttpMethod, RequestOptions) using the serverAddress parameter to connect to the
server instead of the options parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String requestURI)
Like
WebClient.request(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
String requestURI)
Like
WebClient.request(HttpMethod, String, String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
UriTemplate requestURI)
Like
WebClient.request(HttpMethod, String, UriTemplate) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
UriTemplate requestURI)
Like
WebClient.request(HttpMethod, UriTemplate) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
default HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
UriTemplate requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
WebClient.requestAbs(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
UriTemplate absoluteURI)
Like
WebClient.requestAbs(HttpMethod, UriTemplate) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
default HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
String absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
default HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
UriTemplate absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
Modifier and Type | Method and Description |
---|---|
CachingWebClientOptions |
CachingWebClientOptions.setCachedMethods(Set<HttpMethod> methods)
Configure the HTTP methods that can be cached.
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethod(HttpMethod method)
Add an allowed method
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethods(Set<HttpMethod> methods)
Add a set of allowed methods
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
Operation.getHttpMethod() |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
ProxyRequest.getMethod() |
Modifier and Type | Method and Description |
---|---|
ProxyRequest |
ProxyRequest.setMethod(HttpMethod method)
Set the HTTP method to be sent to the origin server.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpClientRequest.getMethod()
The HTTP method for the request.
|
HttpMethod |
HttpServerRequest.method() |
Modifier and Type | Method and Description |
---|---|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path)
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
Handler<AsyncResult<HttpServerResponse>> handler)
|
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. |
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. |
void |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
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 . |
void |
HttpClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
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.
|
void |
HttpClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and default port. |
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. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path,
MultiMap headers)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String host,
String path)
|
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<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
Single<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
Single<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
String host,
String requestURI)
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.
|
Modifier and Type | Method and Description |
---|---|
Set<HttpMethod> |
Route.methods() |
Modifier and Type | Method and Description |
---|---|
Route |
Route.method(HttpMethod method)
Add an HTTP method for this route.
|
void |
RoutingContext.reroute(HttpMethod method,
String path)
Restarts the current router with a new method and path.
|
Route |
Router.route(HttpMethod method,
String path)
Add a route that matches the specified HTTP method and path
|
Route |
Router.routeWithRegex(HttpMethod method,
String regex)
Add a route that matches the specified HTTP method and path regex
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpRequest.method() |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.method(HttpMethod value)
Configure the request to use a new method
value . |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the options parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
UriTemplate requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
WebClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
UriTemplate absoluteURI)
Like
WebClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
String absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
UriTemplate absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethod(HttpMethod method)
Add an allowed method
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethods(Set<HttpMethod> methods)
Add a set of allowed methods
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
Operation.getHttpMethod() |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpClientRequest.getMethod()
The HTTP method for the request.
|
HttpMethod |
HttpServerRequest.method() |
Modifier and Type | Method and Description |
---|---|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers,
Handler<AsyncResult<HttpServerResponse>> handler)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServerResponse>>) with the host copied from the current request. |
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path)
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
Handler<AsyncResult<HttpServerResponse>> handler)
|
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. |
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. |
void |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
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 . |
void |
HttpClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
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.
|
void |
HttpClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and default port. |
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. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServerResponse>>) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path,
MultiMap headers)
Like
HttpServerResponse.push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.http.HttpServerResponse>>) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String host,
String path)
|
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<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
Single<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
Single<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
String host,
String requestURI)
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.
|
Modifier and Type | Method and Description |
---|---|
Set<HttpMethod> |
Route.methods() |
Modifier and Type | Method and Description |
---|---|
Route |
Route.method(HttpMethod method)
Add an HTTP method for this route.
|
void |
RoutingContext.reroute(HttpMethod method,
String path)
Restarts the current router with a new method and path.
|
Route |
Router.route(HttpMethod method,
String path)
Add a route that matches the specified HTTP method and path
|
Route |
Router.routeWithRegex(HttpMethod method,
String regex)
Add a route that matches the specified HTTP method and path regex
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpRequest.method() |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.method(HttpMethod value)
Configure the request to use a new method
value . |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the options parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
UriTemplate requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
WebClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
UriTemplate absoluteURI)
Like
WebClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
String absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
UriTemplate absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethod(HttpMethod method)
Add an allowed method
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethods(Set<HttpMethod> methods)
Add a set of allowed methods
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpClientRequest.getMethod()
The HTTP method for the request.
|
HttpMethod |
HttpServerRequest.method() |
Modifier and Type | Method and Description |
---|---|
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String path)
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 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)
|
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<HttpClientRequest> |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
Single<HttpClientRequest> |
HttpClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
Single<HttpClientRequest> |
HttpClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and default port. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path)
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 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)
|
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<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the
host and port . |
Single<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
Single<HttpClientRequest> |
HttpClient.rxRequest(HttpMethod method,
String host,
String requestURI)
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.
|
Modifier and Type | Method and Description |
---|---|
Set<HttpMethod> |
Route.methods() |
Modifier and Type | Method and Description |
---|---|
Route |
Route.method(HttpMethod method)
Add an HTTP method for this route.
|
void |
RoutingContext.reroute(HttpMethod method,
String path)
Restarts the current router with a new method and path.
|
Route |
Router.route(HttpMethod method,
String path)
Add a route that matches the specified HTTP method and path
|
Route |
Router.routeWithRegex(HttpMethod method,
String regex)
Add a route that matches the specified HTTP method and path regex
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpRequest.method() |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.method(HttpMethod value)
Configure the request to use a new method
value . |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
int port,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
RequestOptions options)
Create an HTTP request to send to the server at the specified host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the options parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
String requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
UriTemplate requestURI)
Like
WebClient.request(io.vertx.core.http.HttpMethod, int, java.lang.String, java.lang.String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
String host,
UriTemplate requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
UriTemplate requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
WebClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
UriTemplate absoluteURI)
Like
WebClient.requestAbs(io.vertx.core.http.HttpMethod, java.lang.String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
String absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
UriTemplate absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethod(HttpMethod method)
Add an allowed method
|
Modifier and Type | Method and Description |
---|---|
CorsHandler |
CorsHandler.allowedMethods(Set<HttpMethod> methods)
Add a set of allowed methods
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
Operation.getHttpMethod() |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
ProxyRequest.getMethod() |
Modifier and Type | Method and Description |
---|---|
ProxyRequest |
ProxyRequest.setMethod(HttpMethod method)
Set the HTTP method to be sent to the origin server.
|
Copyright © 2023 Eclipse. All rights reserved.