Interface HttpResponseHead

  • All Known Implementing Classes:
    HttpClientResponse, HttpResponse

    public interface HttpResponseHead
    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 using Vert.x codegen.

    • 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)
        Parameters:
        headerName - the header name
        Returns:
        the header value
      • cookies

        List<String> cookies()
        Returns:
        the Set-Cookie headers (including trailers)
      • getHeader

        String getHeader​(CharSequence headerName)
        Parameters:
        headerName - the header name
        Returns:
        the header value
      • newInstance

        static HttpResponseHead newInstance​(io.vertx.core.http.HttpResponseHead arg)