Package io.vertx.mutiny.core.http
Class HttpRequestHead
java.lang.Object
io.vertx.mutiny.core.http.HttpRequestHead
- All Implemented Interfaces:
MutinyDelegate
- Direct Known Subclasses:
HttpServerRequest
The state of the HTTP request head:
- Method / URI
- Headers
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
HttpRequestHead
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestHead(io.vertx.core.http.HttpRequestHead delegate) Create a new instance ofHttpRequestHeaddelegating to the given (non-null) instance ofHttpRequestHead.HttpRequestHead(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.core.http.HttpRequestHeadGet the delegate instance.getHeader(CharSequence headerName) Return the first header value with the specified nameReturn the first header value with the specified nameinthashCode()io.vertx.core.MultiMapheaders()io.vertx.core.http.HttpMethodmethod()static HttpRequestHeadnewInstance(io.vertx.core.http.HttpRequestHead delegate) Creates a new instance of theHttpRequestHead.path()query()toString()uri()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HttpRequestHead
public HttpRequestHead(io.vertx.core.http.HttpRequestHead delegate) Create a new instance ofHttpRequestHeaddelegating to the given (non-null) instance ofHttpRequestHead. -
HttpRequestHead
-
-
Method Details
-
getDelegate
public io.vertx.core.http.HttpRequestHead getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
method
public io.vertx.core.http.HttpMethod method()- Returns:
- the HTTP method for the request.
-
uri
- Returns:
- the URI of the request. This is usually a relative URI
-
path
- Returns:
- The path part of the uri. For example
/somepath/somemorepath/someresource.foo. Can benull.
-
query
- Returns:
- the query part of the uri. For example
someparam=32&someotherparam=x. Can benull.
-
headers
public io.vertx.core.MultiMap headers()- Returns:
- the headers
-
getHeader
Return the first header value with the specified name- Parameters:
headerName- the header name- Returns:
- the header value. Can be
null.
-
getHeader
Return the first header value with the specified name- Parameters:
headerName- the header name- Returns:
- the header value
-
newInstance
Creates a new instance of theHttpRequestHead. -
hashCode
public int hashCode() -
equals
-
toString
-