类 RestClientResponseException

    • 构造器详细资料

      • RestClientResponseException

        public RestClientResponseException​(String message,
                                           int statusCode,
                                           String statusText,
                                           HttpHeaders responseHeaders,
                                           byte[] responseBody,
                                           Charset responseCharset)
        Construct a new instance of with the given response data.
        参数:
        statusCode - 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)