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
  • FullHttpMessage

This view

  • Original page
  • New address

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

Interface FullHttpMessage

All Superinterfaces:
ByteBufHolder, DecoderResultProvider, HttpContent, HttpMessage, HttpObject, LastHttpContent, ReferenceCounted
All Known Subinterfaces:
FullHttpRequest, FullHttpResponse
All Known Implementing Classes:
DefaultFullHttpRequest, DefaultFullHttpResponse

public interface FullHttpMessage extends HttpMessage, LastHttpContent
Combines HttpMessage and LastHttpContent into one message. So it represent a complete http message.
  • Field Summary

    Fields inherited from interface LastHttpContent

    EMPTY_LAST_CONTENT
    Modifier and Type
    Field
    Description
    static final LastHttpContent
    EMPTY_LAST_CONTENT
    The 'end of content' marker in chunked encoding.
  • Method Summary

    Modifier and Type
    Method
    Description
    FullHttpMessage
    copy()
    Creates a deep copy of this ByteBufHolder.
    FullHttpMessage
    duplicate()
    Duplicates this ByteBufHolder.
    FullHttpMessage
    replace(ByteBuf content)
    Returns a new ByteBufHolder which contains the specified content.
    FullHttpMessage
    retain()
    Increases the reference count by 1.
    FullHttpMessage
    retain(int increment)
    Increases the reference count by the specified increment.
    FullHttpMessage
    retainedDuplicate()
    Duplicates this ByteBufHolder.
    FullHttpMessage
    touch()
    Records the current access location of this object for debugging purposes.
    FullHttpMessage
    touch(Object hint)
    Records the current access location of this object with an additional arbitrary information for debugging purposes.

    Methods inherited from interface ByteBufHolder

    content
    Modifier and Type
    Method
    Description
    ByteBuf
    content()
    Return the data which is held by this ByteBufHolder.

    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, setProtocolVersion
    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
    HttpMessage
    setProtocolVersion(HttpVersion version)
    Set the protocol version of this HttpMessage

    Methods inherited from interface HttpObject

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

    Methods inherited from interface LastHttpContent

    trailingHeaders
    Modifier and Type
    Method
    Description
    HttpHeaders
    trailingHeaders()
     

    Methods inherited from interface ReferenceCounted

    refCnt, release, release
    Modifier and Type
    Method
    Description
    int
    refCnt()
    Returns the reference count of this object.
    boolean
    release()
    Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0.
    boolean
    release(int decrement)
    Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0.
  • Method Details

    • copy

      FullHttpMessage copy()
      Description copied from interface: ByteBufHolder
      Creates a deep copy of this ByteBufHolder.
      Specified by:
      copy in interface ByteBufHolder
      Specified by:
      copy in interface HttpContent
      Specified by:
      copy in interface LastHttpContent
    • duplicate

      FullHttpMessage duplicate()
      Description copied from interface: ByteBufHolder
      Duplicates this ByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().
      Specified by:
      duplicate in interface ByteBufHolder
      Specified by:
      duplicate in interface HttpContent
      Specified by:
      duplicate in interface LastHttpContent
    • retainedDuplicate

      FullHttpMessage retainedDuplicate()
      Description copied from interface: ByteBufHolder
      Duplicates this ByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().
      Specified by:
      retainedDuplicate in interface ByteBufHolder
      Specified by:
      retainedDuplicate in interface HttpContent
      Specified by:
      retainedDuplicate in interface LastHttpContent
      See Also:
      • ByteBuf.retainedDuplicate()
    • replace

      FullHttpMessage replace(ByteBuf content)
      Description copied from interface: ByteBufHolder
      Returns a new ByteBufHolder which contains the specified content.
      Specified by:
      replace in interface ByteBufHolder
      Specified by:
      replace in interface HttpContent
      Specified by:
      replace in interface LastHttpContent
    • retain

      FullHttpMessage retain(int increment)
      Description copied from interface: ReferenceCounted
      Increases the reference count by the specified increment.
      Specified by:
      retain in interface ByteBufHolder
      Specified by:
      retain in interface HttpContent
      Specified by:
      retain in interface LastHttpContent
      Specified by:
      retain in interface ReferenceCounted
    • retain

      FullHttpMessage retain()
      Description copied from interface: ReferenceCounted
      Increases the reference count by 1.
      Specified by:
      retain in interface ByteBufHolder
      Specified by:
      retain in interface HttpContent
      Specified by:
      retain in interface LastHttpContent
      Specified by:
      retain in interface ReferenceCounted
    • touch

      FullHttpMessage touch()
      Description copied from interface: ReferenceCounted
      Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).
      Specified by:
      touch in interface ByteBufHolder
      Specified by:
      touch in interface HttpContent
      Specified by:
      touch in interface LastHttpContent
      Specified by:
      touch in interface ReferenceCounted
    • touch

      FullHttpMessage touch(Object hint)
      Description copied from interface: ReferenceCounted
      Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.
      Specified by:
      touch in interface ByteBufHolder
      Specified by:
      touch in interface HttpContent
      Specified by:
      touch in interface LastHttpContent
      Specified by:
      touch in interface ReferenceCounted
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.