org.w3c.mwi.mobileok.basic
Class CachingTest
java.lang.Object
org.w3c.mwi.mobileok.basic.AbstractTestImplementation
org.w3c.mwi.mobileok.basic.AbstractXSLTTestImplementation
org.w3c.mwi.mobileok.basic.CachingTest
- All Implemented Interfaces:
- TestImplementation
public final class CachingTest
- extends AbstractXSLTTestImplementation
Implements the
CACHING
mobileOK test.
Test name: TestType.CACHING
.
The test is linked to the CachingTest.xsl
stylesheet
and extends AbstractXSLTTestImplementation
.
- Version:
- $Revision: 1.1 $
- Author:
- The W3C mobileOK Checker Task Force
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CANONICAL_CACHE_CONTROL_VALUES
private static final java.util.Collection<java.lang.String> CANONICAL_CACHE_CONTROL_VALUES
RFC_2616_DATE_FORMATS
private static final java.text.DateFormat[] RFC_2616_DATE_FORMATS
CachingTest
public CachingTest()
getTestType
public java.lang.String getTestType()
isCanonicalCacheControlValue
public static boolean isCanonicalCacheControlValue(java.lang.String value)
isCanonicalEtagValue
public static boolean isCanonicalEtagValue(java.lang.String value)
isCanonicalDateValue
public static boolean isCanonicalDateValue(java.lang.String value)
checkConsistentNewRequest
public static boolean checkConsistentNewRequest(java.lang.String uriString,
java.lang.String newRequestHeader,
java.lang.String originalHeader,
java.lang.String testValue)
throws TestException
- Throws:
TestException