Package | Description |
---|---|
io.vertx.core.http |
== Writing HTTP servers and clients
Vert.x allows you to easily write non blocking HTTP clients and servers.
|
io.vertx.core.http.impl |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpServerRequest.method() |
HttpMethod |
HttpClientRequest.method()
The HTTP method for the request.
|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HttpClientRequest |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and port.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
int port,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Create an HTTP request to send to the server at the specified host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
String requestURI)
Create an HTTP request to send to the server at the default host and port.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Create an HTTP request to send to the server at the default host and port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
String host,
String requestURI)
Create an HTTP request to send to the server at the specified host and default port.
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Create an HTTP request to send to the server at the specified host and default port, specifying a response handler to receive
the response
|
HttpClientRequest |
HttpClient.requestAbs(HttpMethod method,
String absoluteURI)
Create an HTTP request to send to the server using an absolute URI
|
HttpClientRequest |
HttpClient.requestAbs(HttpMethod method,
String absoluteURI,
Handler<HttpClientResponse> responseHandler)
Create an HTTP request to send to the server using an absolute URI, specifying a response handler to receive
the response
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
HttpServerRequestImpl.method() |
HttpMethod |
HttpClientRequestImpl.method() |
Modifier and Type | Method and Description |
---|---|
HttpClientRequest |
HttpClientImpl.request(HttpMethod method,
int port,
String host,
String requestURI) |
HttpClientRequest |
HttpClientImpl.request(HttpMethod method,
int port,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler) |
HttpClientRequest |
HttpClientImpl.request(HttpMethod method,
String requestURI) |
HttpClientRequest |
HttpClientImpl.request(HttpMethod method,
String requestURI,
Handler<HttpClientResponse> responseHandler) |
HttpClientRequest |
HttpClientImpl.request(HttpMethod method,
String host,
String requestURI) |
HttpClientRequest |
HttpClientImpl.request(HttpMethod method,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler) |
HttpClientRequest |
HttpClientImpl.requestAbs(HttpMethod method,
String absoluteURI) |
HttpClientRequest |
HttpClientImpl.requestAbs(HttpMethod method,
String absoluteURI,
Handler<HttpClientResponse> responseHandler) |
Copyright © 2015. All Rights Reserved.