Class MetaData

    • Method Detail

      • isRequest

        public boolean isRequest()
        Deprecated.
      • isResponse

        public boolean isResponse()
        Deprecated.
      • getVersion

        @Deprecated
        public HttpVersion getVersion()
        Deprecated.
        use getHttpVersion() instead
        Returns:
        the HTTP version of this MetaData object
      • getHttpVersion

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

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

        public HttpFields getFields()
        Deprecated.
        Returns:
        the HTTP fields of this MetaData object
      • getTrailerSupplier

        public java.util.function.Supplier<HttpFields> getTrailerSupplier()
        Deprecated.
      • setTrailerSupplier

        public void setTrailerSupplier​(java.util.function.Supplier<HttpFields> trailers)
        Deprecated.
      • getContentLength

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

        public void setContentLength​(long contentLength)
        Deprecated.
      • iterator

        public java.util.Iterator<HttpField> iterator()
        Deprecated.
        Specified by:
        iterator in interface java.lang.Iterable<HttpField>
        Returns:
        an iterator over the HTTP fields
        See Also:
        getFields()
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object