类的使用
org.springframework.web.client.HttpServerErrorException
使用HttpServerErrorException的程序包 程序包 说明 org.springframework.web.client Core package of the client-side web support.org.springframework.web.client中HttpServerErrorException的使用
org.springframework.web.client中HttpServerErrorException的子类 修饰符和类型 类 说明 static classHttpServerErrorException.BadGatewayHttpServerErrorExceptionfor status HTTP HTTP 502 Bad Gateway.static classHttpServerErrorException.GatewayTimeoutHttpServerErrorExceptionfor status HTTP 504 Gateway Timeout.static classHttpServerErrorException.InternalServerErrorHttpServerErrorExceptionfor status HTTP 500 Internal Server Error.static classHttpServerErrorException.NotImplementedHttpServerErrorExceptionfor status HTTP 501 Not Implemented.static classHttpServerErrorException.ServiceUnavailableHttpServerErrorExceptionfor status HTTP 503 Service Unavailable.返回HttpServerErrorException的org.springframework.web.client中的方法 修饰符和类型 方法 说明 static HttpServerErrorExceptionHttpServerErrorException. create(String message, HttpStatus statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)Variant ofcreate(String, HttpStatus, String, HttpHeaders, byte[], Charset)with an optional prepared message.static HttpServerErrorExceptionHttpServerErrorException. create(HttpStatus statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)Create anHttpServerErrorExceptionor an HTTP status specific sub-class.