类 UnknownHttpStatusCodeException

    • 构造器详细资料

      • UnknownHttpStatusCodeException

        public UnknownHttpStatusCodeException​(int rawStatusCode,
                                              String statusText,
                                              HttpHeaders responseHeaders,
                                              byte[] responseBody,
                                              Charset responseCharset)
        Construct a new instance of HttpStatusCodeException based on an HttpStatus, status text, and response body content.
        参数:
        rawStatusCode - the raw status code value
        statusText - the status text
        responseHeaders - the response headers (may be null)
        responseBody - the response body content (may be null)
        responseCharset - the response body charset (may be null)