Package io.vertx.mutiny.core.http
Interface HttpResponseHead
- All Superinterfaces:
MutinyDelegate
- All Known Implementing Classes:
HttpClientResponse,HttpResponse,HttpResponseHead.HttpResponseHeadImpl
The state of the HTTP response head:
- Status code / Message
- Headers
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
HttpResponseHead
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncookies()io.vertx.core.http.HttpResponseHeadgetHeader(CharSequence headerName) Return the first header value with the specified nameReturn the first header value with the specified nameio.vertx.core.MultiMapheaders()static HttpResponseHeadnewInstance(io.vertx.core.http.HttpResponseHead delegate) Creates a new instance of theHttpResponseHead.intio.vertx.core.http.HttpVersionversion()
-
Method Details
-
getDelegate
io.vertx.core.http.HttpResponseHead getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
version
io.vertx.core.http.HttpVersion version()- Returns:
- the version of the response
-
statusCode
int statusCode()- Returns:
- the status code of the response
-
statusMessage
String statusMessage()- Returns:
- the status message of the response
-
headers
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
-
cookies
- Returns:
- the Set-Cookie headers (including trailers)
-
newInstance
Creates a new instance of theHttpResponseHead.
-