Class ClientResponseWrapper.HeadersWrapper

  • java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      HttpHeaders asHttpHeaders()
      Return the headers as a HttpHeaders instance.
      java.util.OptionalLong contentLength()
      Return the length of the body in bytes, as specified by the Content-Length header.
      java.util.Optional<MediaType> contentType()
      Return the media type of the body, as specified by the Content-Type header.
      java.util.List<java.lang.String> header(java.lang.String headerName)
      Return the header value(s), if any, for the header of the given name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait