io.vertx.reactivex.core.http

## Interface HttpResponseHead

- All Superinterfaces:
    io.vertx.lang.rx.RxDelegate
  All Known Implementing Classes:
    HttpClientResponse, HttpResponse

      public interface HttpResponseHead
      extends io.vertx.lang.rx.RxDelegate

  The state of the HTTP response head:
  - Status code / Message
  - Headers

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<String>` | `cookies()`
    `HttpResponseHead` | `getDelegate()`
    `String` | `getHeader(String headerName)` Return the first header value with the specified name
    `MultiMap` | `headers()`
    `static HttpResponseHead` | `newInstance(HttpResponseHead arg)`
    `int` | `statusCode()`
    `String` | `statusMessage()`
    `HttpVersion` | `version()`

- - ### Method Detail

    - #### getDelegate

          HttpResponseHead getDelegate()

      Specified by:
        `getDelegate` in interface `io.vertx.lang.rx.RxDelegate`

    - #### version

          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

    - #### cookies

          List<String> cookies()

      Returns:
        the Set-Cookie headers (including trailers)

    - #### newInstance

          static HttpResponseHead newInstance(HttpResponseHead arg)

Copyright © 2025 Eclipse. All rights reserved.