Package io.vertx.mutiny.core.http
Interface HttpResponseHead
- All Superinterfaces:
MutinyDelegate
- All Known Implementing Classes:
HttpClientResponse
,HttpResponse
The state of the HTTP response head:
- Status code / Message
- Headers
original
non Mutiny-ified interface using Vert.x codegen.-
Method Summary
Modifier and TypeMethodDescriptioncookies()
io.vertx.core.http.HttpResponseHead
getHeader
(CharSequence headerName) headers()
static HttpResponseHead
newInstance
(io.vertx.core.http.HttpResponseHead arg) int
io.vertx.core.http.HttpVersion
version()
-
Method Details
-
getDelegate
io.vertx.core.http.HttpResponseHead getDelegate()- Specified by:
getDelegate
in 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
MultiMap headers()- Returns:
- the headers
-
getHeader
- Parameters:
headerName
- the header name- Returns:
- the header value
-
cookies
- Returns:
- the Set-Cookie headers (including trailers)
-
getHeader
- Parameters:
headerName
- the header name- Returns:
- the header value
-
newInstance
-