Class CacheControlHandlerInterceptorTest

java.lang.Object
de.hybris.platform.webservicescommons.interceptors.CacheControlHandlerInterceptorTest

@UnitTest public class CacheControlHandlerInterceptorTest extends Object
Test suite for @link{de.hybris.platform.webservicescommons.interceptors.CacheControlHandlerInterceptor}
  • Constructor Details

    • CacheControlHandlerInterceptorTest

      public CacheControlHandlerInterceptorTest()
  • Method Details

    • setUp

      public void setUp()
    • testPrivateOnlyUsingClassAnnotation

      public void testPrivateOnlyUsingClassAnnotation() throws Exception
      Throws:
      Exception
    • testPublicOnlyWhenMethodAnnotationOverridesClassAnnotation

      public void testPublicOnlyWhenMethodAnnotationOverridesClassAnnotation() throws Exception
      Throws:
      Exception
    • testSingleDirectiveWithMaxAge

      public void testSingleDirectiveWithMaxAge() throws Exception
      Throws:
      Exception
    • testMultipleDirectives

      public void testMultipleDirectives() throws Exception
      Throws:
      Exception
    • testNoCache

      public void testNoCache() throws Exception
      Throws:
      Exception
    • testIfNoCacheWhenHttpMethodOtherThanGETorHEAD

      public void testIfNoCacheWhenHttpMethodOtherThanGETorHEAD() throws Exception
      Throws:
      Exception