Class TicketBaseController
java.lang.Object
de.hybris.platform.customerticketingocc.controllers.TicketBaseController
- Direct Known Subclasses:
TicketsController
Base Controller. It defines the exception handler to be used by all controllers. Extending controllers can add or
overwrite the exception handler if needed.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ErrorListWsDTOhandleErrorInternal(String type, String message) protected static Stringprotected static Stringprotected static Stringprotected static StringvoidsetDataMapper(DataMapper dataMapper) protected void
-
Field Details
-
DEFAULT_PAGE_SIZE
- See Also:
-
DEFAULT_CURRENT_PAGE
- See Also:
-
INVALID_REQUEST_BODY_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
TicketBaseController
public TicketBaseController()
-
-
Method Details
-
logParam
-
logParam
-
logValue
-
sanitize
-
handleErrorInternal
-
validate
-
getDataMapper
-
setDataMapper
-
handleHttpMessageNotReadableException
@ResponseStatus(BAD_REQUEST) @ResponseBody @ExceptionHandler(org.springframework.http.converter.HttpMessageNotReadableException.class) public ErrorListWsDTO handleHttpMessageNotReadableException(Exception ex)
-