Class CacheControlHandlerInterceptorTest


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

      • CacheControlHandlerInterceptorTest

        public CacheControlHandlerInterceptorTest()
    • Method Detail

      • setUp

        public void setUp()
      • testPrivateOnlyUsingClassAnnotation

        public void testPrivateOnlyUsingClassAnnotation()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPublicOnlyWhenMethodAnnotationOverridesClassAnnotation

        public void testPublicOnlyWhenMethodAnnotationOverridesClassAnnotation()
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSingleDirectiveWithMaxAge

        public void testSingleDirectiveWithMaxAge()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultipleDirectives

        public void testMultipleDirectives()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNoCache

        public void testNoCache()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIfNoCacheWhenHttpMethodOtherThanGETorHEAD

        public void testIfNoCacheWhenHttpMethodOtherThanGETorHEAD()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception