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

This view

  • Original page
  • New address

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

Interface FullHttpRequest

All Superinterfaces:
ByteBufHolder, DecoderResultProvider, FullHttpMessage, HttpContent, HttpMessage, HttpObject, HttpRequest, LastHttpContent, ReferenceCounted
All Known Implementing Classes:
DefaultFullHttpRequest

public interface FullHttpRequest extends HttpRequest, FullHttpMessage
Combine the HttpRequest and FullHttpMessage, so the request is a complete HTTP request.
  • 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
    FullHttpRequest
    copy()
    Creates a deep copy of this ByteBufHolder.
    FullHttpRequest
    duplicate()
    Duplicates this ByteBufHolder.
    FullHttpRequest
    replace(ByteBuf content)
    Returns a new ByteBufHolder which contains the specified content.
    FullHttpRequest
    retain()
    Increases the reference count by 1.
    FullHttpRequest
    retain(int increment)
    Increases the reference count by the specified increment.
    FullHttpRequest
    retainedDuplicate()
    Duplicates this ByteBufHolder.
    FullHttpRequest
    setMethod(HttpMethod method)
    Set the HttpMethod of this HttpRequest.
    FullHttpRequest
    setProtocolVersion(HttpVersion version)
    Set the protocol version of this HttpMessage
    FullHttpRequest
    setUri(String uri)
    Set the requested URI (or alternatively, path)
    FullHttpRequest
    touch()
    Records the current access location of this object for debugging purposes.
    FullHttpRequest
    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
    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.

    Methods inherited from interface HttpRequest

    getMethod, getUri, method, uri
    Modifier and Type
    Method
    Description
    HttpMethod
    getMethod()
    Deprecated.
    Use HttpRequest.method() instead.
    String
    getUri()
    Deprecated.
    Use HttpRequest.uri() instead.
    HttpMethod
    method()
    Returns the HttpMethod of this HttpRequest.
    String
    uri()
    Returns the requested URI (or alternatively, path)

    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

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

      FullHttpRequest 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 FullHttpMessage
      Specified by:
      duplicate in interface HttpContent
      Specified by:
      duplicate in interface LastHttpContent
    • retainedDuplicate

      FullHttpRequest 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 FullHttpMessage
      Specified by:
      retainedDuplicate in interface HttpContent
      Specified by:
      retainedDuplicate in interface LastHttpContent
      See Also:
      • ByteBuf.retainedDuplicate()
    • replace

      FullHttpRequest 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 FullHttpMessage
      Specified by:
      replace in interface HttpContent
      Specified by:
      replace in interface LastHttpContent
    • retain

      FullHttpRequest 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 FullHttpMessage
      Specified by:
      retain in interface HttpContent
      Specified by:
      retain in interface LastHttpContent
      Specified by:
      retain in interface ReferenceCounted
    • retain

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

      FullHttpRequest 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 FullHttpMessage
      Specified by:
      touch in interface HttpContent
      Specified by:
      touch in interface LastHttpContent
      Specified by:
      touch in interface ReferenceCounted
    • touch

      FullHttpRequest 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 FullHttpMessage
      Specified by:
      touch in interface HttpContent
      Specified by:
      touch in interface LastHttpContent
      Specified by:
      touch in interface ReferenceCounted
    • setProtocolVersion

      FullHttpRequest setProtocolVersion(HttpVersion version)
      Description copied from interface: HttpMessage
      Set the protocol version of this HttpMessage
      Specified by:
      setProtocolVersion in interface HttpMessage
      Specified by:
      setProtocolVersion in interface HttpRequest
    • setMethod

      FullHttpRequest setMethod(HttpMethod method)
      Description copied from interface: HttpRequest
      Set the HttpMethod of this HttpRequest.
      Specified by:
      setMethod in interface HttpRequest
    • setUri

      FullHttpRequest setUri(String uri)
      Description copied from interface: HttpRequest
      Set the requested URI (or alternatively, path)
      Specified by:
      setUri in interface HttpRequest
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.