Class MetaData

    • Method Detail

      • recycle

        protected void recycle()
      • isRequest

        public boolean isRequest()
      • isResponse

        public boolean isResponse()
      • getHttpVersion

        public HttpVersion getHttpVersion()
        Returns:
        the HTTP version of this MetaData object
      • setHttpVersion

        public void setHttpVersion​(HttpVersion httpVersion)
        Parameters:
        httpVersion - the HTTP version to set
      • getFields

        public HttpFields getFields()
        Returns:
        the HTTP fields of this MetaData object
      • getContentLength

        public long getContentLength()
        Returns:
        the content length if available, otherwise Long.MIN_VALUE