GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.http
  • HttpResponse

This view

  • Original page
  • New address

GeezerVison is showing netty.io — HttpResponse (Netty API Reference (4.1.141.Final))

Interface HttpResponse

All Superinterfaces:
DecoderResultProvider, HttpMessage, HttpObject
All Known Subinterfaces:
FullHttpResponse
All Known Implementing Classes:
DefaultFullHttpResponse, DefaultHttpResponse

public interface HttpResponse extends HttpMessage
An HTTP response.

Accessing Cookies

Unlike the Servlet API, Cookie support is provided separately via ServerCookieDecoder, ClientCookieDecoder, ServerCookieEncoder, and ClientCookieEncoder.

See Also:
  • HttpRequest
  • ServerCookieDecoder
  • ClientCookieDecoder
  • ServerCookieEncoder
  • ClientCookieEncoder
  • Method Summary

    Modifier and Type
    Method
    Description
    HttpResponseStatus
    getStatus()
    Deprecated.
    Use status() instead.
    HttpResponse
    setProtocolVersion(HttpVersion version)
    Set the protocol version of this HttpMessage
    HttpResponse
    setStatus(HttpResponseStatus status)
    Set the status of this HttpResponse.
    HttpResponseStatus
    status()
    Returns the status of this HttpResponse.

    Methods inherited from interface DecoderResultProvider

    decoderResult, setDecoderResult
    Modifier and Type
    Method
    Description
    DecoderResult
    decoderResult()
    Returns the result of decoding this object.
    void
    setDecoderResult(DecoderResult result)
    Updates the result of decoding this object.

    Methods inherited from interface HttpMessage

    getProtocolVersion, headers, protocolVersion
    Modifier and Type
    Method
    Description
    HttpVersion
    getProtocolVersion()
    Deprecated.
    Use HttpMessage.protocolVersion() instead.
    HttpHeaders
    headers()
    Returns the headers of this message.
    HttpVersion
    protocolVersion()
    Returns the protocol version of this HttpMessage

    Methods inherited from interface HttpObject

    getDecoderResult
    Modifier and Type
    Method
    Description
    DecoderResult
    getDecoderResult()
    Deprecated.
    Use DecoderResultProvider.decoderResult() instead.
  • Method Details

    • getStatus

      @Deprecated HttpResponseStatus getStatus()
      Deprecated.
      Use status() instead.
    • status

      HttpResponseStatus status()
      Returns the status of this HttpResponse.
      Returns:
      The HttpResponseStatus of this HttpResponse
    • setStatus

      HttpResponse setStatus(HttpResponseStatus status)
      Set the status of this HttpResponse.
    • setProtocolVersion

      HttpResponse setProtocolVersion(HttpVersion version)
      Description copied from interface: HttpMessage
      Set the protocol version of this HttpMessage
      Specified by:
      setProtocolVersion in interface HttpMessage
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.