类 ResponseInfo


  • public class ResponseInfo
    extends Object
    Carry the http response info, mainly the http status code and headers.
    • 方法详细资料

      • statusCode

        public int statusCode()
        the http response status
      • headers

        public Headers headers()
        the http response headers
      • getCharset

        public Optional<Charset> getCharset()
        Get the charset set in response header. If not set, return empty Optional