Class XSSExceptionAdvisor
java.lang.Object
com.broadleafcommerce.resource.security.xss.service.exception.XSSExceptionAdvisor
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class XSSExceptionAdvisor
extends Object
General exception handler registry for certain XSS-related exceptions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleXSSRequestParameterValidationException
(XSSRequestParameterValidationException ex, org.springframework.web.context.request.WebRequest request) protected void
-
Constructor Details
-
XSSExceptionAdvisor
public XSSExceptionAdvisor()
-
-
Method Details
-
handleXSSRequestParameterValidationException
@ExceptionHandler(XSSRequestParameterValidationException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleXSSRequestParameterValidationException(XSSRequestParameterValidationException ex, org.springframework.web.context.request.WebRequest request) -
logDebug
-