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.
Since 2105. Use RestExceptionResolver instead.
Exception resolver implementation for REST Web Services.
  • Field Details

    • PROPERTY_ROOT_KEY

      public static final String PROPERTY_ROOT_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • GLOBAL_STATUS_PROPERTY_KEY

      public static final String GLOBAL_STATUS_PROPERTY_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • EXTENSION_STATUS_PROPERTY_KEY

      public static final String EXTENSION_STATUS_PROPERTY_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • GLOBAL_LOGSTACK_PROPERTY_KEY

      public static final String GLOBAL_LOGSTACK_PROPERTY_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • EXTENSION_LOGSTACK_PROPERTY_KEY

      public static final String EXTENSION_LOGSTACK_PROPERTY_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_STATUS_PROPERTY

      public static final String DEFAULT_STATUS_PROPERTY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_LOGSTACK_PROPERTY

      public static final String 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

      protected int calculateStatusFromException(Exception e)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractRestHandlerExceptionResolver
      Calculates HTTP status code.
      Overrides:
      calculateStatusFromException in class AbstractRestHandlerExceptionResolver
      Parameters:
      e - exception object
      Returns:
      HTTP status code
    • shouldDisplayStack

      protected boolean shouldDisplayStack(Exception e)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractRestHandlerExceptionResolver
      Calculates boolean value used to determine if exception stacktrace should be logged.
      Overrides:
      shouldDisplayStack in class AbstractRestHandlerExceptionResolver
      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:
      doResolveException in class org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
    • getIntegerConfiguration

      protected Integer getIntegerConfiguration(String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBooleanConfiguration

      protected Boolean getBooleanConfiguration(String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPropertySpecificKey

      public void setPropertySpecificKey(String propertySpecificKey)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
      Deprecated, for removal: This API element is subject to removal in a future version.