Class HttpClientPermissionErrorExceptionHandler
- java.lang.Object
-
- org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
- com.totvs.tjf.security.interceptor.HttpClientPermissionErrorExceptionHandler
-
@Order(2147483647) @ControllerAdvice public class HttpClientPermissionErrorExceptionHandler extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
Returns the status code in Http response according to the code contained inHttpClientPermissionErrorException.statusCode
.- Author:
- Marcos Paulo dos Santos
- See Also:
HttpClientPermissionErrorExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description HttpClientPermissionErrorExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Object>
handler(org.springframework.web.client.HttpStatusCodeException exception, org.springframework.web.context.request.WebRequest request)
-
Methods inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch
-
-
-
-
Method Detail
-
handler
@ExceptionHandler(HttpClientPermissionErrorException.class) public org.springframework.http.ResponseEntity<Object> handler(org.springframework.web.client.HttpStatusCodeException exception, org.springframework.web.context.request.WebRequest request)
-
-