Package io.vertx.reactivex.core.http
Interface HttpResponseHead
-
- All Known Implementing Classes:
HttpClientResponse,HttpResponse
public interface HttpResponseHeadThe state of the HTTP response head:- Status code / Message
- Headers
originalnon RX-ified interface using Vert.x codegen.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>cookies()io.vertx.core.http.HttpResponseHeadgetDelegate()StringgetHeader(String headerName)Return the first header value with the specified nameMultiMapheaders()static HttpResponseHeadnewInstance(io.vertx.core.http.HttpResponseHead arg)intstatusCode()StringstatusMessage()io.vertx.core.http.HttpVersionversion()
-
-
-
Method Detail
-
getDelegate
io.vertx.core.http.HttpResponseHead getDelegate()
-
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
String getHeader(String headerName)
Return the first header value with the specified name- Parameters:
headerName- the header name- Returns:
- the header value
-
newInstance
static HttpResponseHead newInstance(io.vertx.core.http.HttpResponseHead arg)
-
-