public class HttpResponseTest extends Assert
| Modifier and Type | Field and Description |
|---|---|
static FakeTimeSource |
timeSource |
| Constructor and Description |
|---|
HttpResponseTest() |
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, failpublic static FakeTimeSource timeSource
public static void setHttpTimeSource()
public void setUp()
public void testEncodingDetectionUtf8WithBom()
throws Exception
Exceptionpublic void testEncodingDetectionUtf8WithBomCaseInsensitiveKey()
throws Exception
Exceptionpublic void testEncodingDetectionLatin1()
throws Exception
Exceptionpublic void testEncodingDetectionLatin1withIncorrectCharset()
throws Exception
Exceptionpublic void testEncodingDetectionUtf8WithBomAndIncorrectCharset()
throws Exception
Exceptionpublic void testEncodingDetectionUtf8WithBomAndInvalidCharset()
throws Exception
Exceptionpublic void testEncodingDetectionBig5()
throws Exception
Exceptionpublic void testEncodingDetectionBig5WithQuotes()
throws Exception
Exceptionpublic void testEncodingDetectionUtf8WithBomNoCharsetSpecified()
throws Exception
Exceptionpublic void testEncodingDetectionLatin1NoCharsetSpecified()
throws Exception
Exceptionpublic void testEncodingDetectionWithEmptyContentType()
throws Exception
Exceptionpublic void testEncodingDetectionUtf8WithBomNoContentHeader()
throws Exception
Exceptionpublic void testEncodingDetectionLatin1NoContentHeader()
throws Exception
Exceptionpublic void testGetEncodingForImageContentType()
throws Exception
Exceptionpublic void testGetEncodingForFlashContentType()
throws Exception
Exceptionpublic void testStrictCacheControlNoCache()
throws Exception
Exceptionpublic void testCachingHeadersIgnoredOnError()
throws Exception
Exceptionpublic void testNegativeCaching()
public void testStrictNoCacheAndNegativeCaching()
public void testRetryAfter()
public void testSetNoCache()
public void testNullHeaderNamesStripped()
public void testIsError()
public void testSerializationWithTransientFields()
throws Exception
Exceptionpublic void testCacheExpirationForStrictNoCacheResponse()
throws Exception
Exceptionpublic void testCacheExpirationForStrictNoCacheResponsePrivateLowMaxAge()
throws Exception
Exceptionpublic void testCacheExpirationForStrictNoCacheResponsePrivateHighMaxAge()
throws Exception
Exceptionpublic void testShouldRefetchForStrictNoCacheResponseCurrentTime()
throws Exception
Exceptionpublic void testShouldRefetchForStrictNoCacheResponseCurrentTimePrivateLowMaxAge()
throws Exception
Exceptionpublic void testShouldRefetchForStrictNoCacheResponseCurrentTimePrivateHighMaxAge()
throws Exception
Exceptionpublic void testShouldRefetchForStrictNoCacheResponsePastShouldRefetch()
throws Exception
Exceptionpublic void testShouldRefetchForStrictNoCacheResponsePastShouldNotRefetch()
throws Exception
Exceptionpublic void testCacheExpirationForStrictNoCacheResponseWithoutOverride()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.