HttpServerErrorException(statusCode: HttpStatus)
Construct a new instance of HttpServerErrorException based on an HttpStatus.
HttpServerErrorException(statusCode: HttpStatus, statusText: String)
Construct a new instance of HttpServerErrorException based on an HttpStatus and status text.
HttpServerErrorException(statusCode: HttpStatus, statusText: String, @Nullable responseBody: ByteArray, @Nullable responseCharset: Charset)
Construct a new instance of HttpServerErrorException based on an HttpStatus, status text, and response body content.
responseBody - the response body content (may be null)
responseCharset - the response body charset (may be null)
Since
3.0.5
HttpServerErrorException(statusCode: HttpStatus, statusText: String, @Nullable responseHeaders: HttpHeaders, @Nullable responseBody: ByteArray, @Nullable responseCharset: Charset)
Construct a new instance of HttpServerErrorException based on an HttpStatus, status text, and response body content.
responseHeaders - the response headers (may be null)
responseBody - the response body content (may be null)
responseCharset - the response body charset (may be null)
Since
3.1.2