Class RestHandlerExceptionResolver
java.lang.Object
org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
de.hybris.platform.webservicescommons.resolver.AbstractRestHandlerExceptionResolver
de.hybris.platform.webservicescommons.resolver.RestHandlerExceptionResolver
- All Implemented Interfaces:
org.springframework.core.Ordered,org.springframework.web.servlet.HandlerExceptionResolver
@Deprecated(since="2105",
forRemoval=true)
public class RestHandlerExceptionResolver
extends AbstractRestHandlerExceptionResolver
Deprecated, for removal: This API element is subject to removal in a future version.
Exception resolver implementation for REST Web Services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
loggerFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected intDeprecated, for removal: This API element is subject to removal in a future version.Calculates HTTP status code.protected org.springframework.web.servlet.ModelAndViewdoResolveException(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Object handler, Exception ex) Deprecated, for removal: This API element is subject to removal in a future version.protected BooleanDeprecated, for removal: This API element is subject to removal in a future version.protected IntegerDeprecated, for removal: This API element is subject to removal in a future version.voidsetConfigurationService(ConfigurationService configurationService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPropertySpecificKey(String propertySpecificKey) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.Calculates boolean value used to determine if exception stacktrace should be logged.Methods inherited from class de.hybris.platform.webservicescommons.resolver.AbstractRestHandlerExceptionResolver
convertException, doResolveExceptionInternal, getAcceptedMediaTypes, getMessageConverters, getWebserviceErrorFactory, init, setMessageConverters, setOrder, setWebserviceErrorFactory, writeWithMessageConvertersMethods inherited from class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
buildLogMessage, getOrder, hasHandlerMappings, logException, prepareResponse, preventCaching, resolveException, setMappedHandlerClasses, setMappedHandlers, setPreventResponseCaching, setWarnLogCategory, shouldApplyTo
-
Field Details
-
PROPERTY_ROOT_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
GLOBAL_STATUS_PROPERTY_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
EXTENSION_STATUS_PROPERTY_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
GLOBAL_LOGSTACK_PROPERTY_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
EXTENSION_LOGSTACK_PROPERTY_KEY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_STATUS_PROPERTY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
DEFAULT_LOGSTACK_PROPERTY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
RestHandlerExceptionResolver
public RestHandlerExceptionResolver()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
calculateStatusFromException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractRestHandlerExceptionResolverCalculates HTTP status code.- Overrides:
calculateStatusFromExceptionin classAbstractRestHandlerExceptionResolver- Parameters:
e- exception object- Returns:
- HTTP status code
-
shouldDisplayStack
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractRestHandlerExceptionResolverCalculates boolean value used to determine if exception stacktrace should be logged.- Overrides:
shouldDisplayStackin classAbstractRestHandlerExceptionResolver- Parameters:
e- exception object- Returns:
- information if exception stacktrace should be logged or not
-
doResolveException
protected org.springframework.web.servlet.ModelAndView doResolveException(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Object handler, Exception ex) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
doResolveExceptionin classorg.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
-
getIntegerConfiguration
Deprecated, for removal: This API element is subject to removal in a future version. -
getBooleanConfiguration
Deprecated, for removal: This API element is subject to removal in a future version. -
setPropertySpecificKey
Deprecated, for removal: This API element is subject to removal in a future version. -
setConfigurationService
Deprecated, for removal: This API element is subject to removal in a future version.
-
RestExceptionResolverinstead.