Class CacheControlHandlerInterceptorTest
- java.lang.Object
-
- de.hybris.platform.webservicescommons.interceptors.CacheControlHandlerInterceptorTest
-
@UnitTest public class CacheControlHandlerInterceptorTest extends java.lang.Object
Test suite for @link{de.hybris.platform.webservicescommons.interceptors.CacheControlHandlerInterceptor}
-
-
Constructor Summary
Constructors Constructor Description CacheControlHandlerInterceptorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestIfNoCacheWhenHttpMethodOtherThanGETorHEAD()voidtestMultipleDirectives()voidtestNoCache()voidtestPrivateOnlyUsingClassAnnotation()voidtestPublicOnlyWhenMethodAnnotationOverridesClassAnnotation()voidtestSingleDirectiveWithMaxAge()
-
-
-
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
-
-