public class HttpUtilTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
testStartTime |
static FakeTimeSource |
timeSource |
| Constructor and Description |
|---|
HttpUtilTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkCacheControlHeaders(long testStartTime,
HttpServletResponseRecorder response,
int ttl,
boolean noProxy) |
void |
testCORSmultiple() |
void |
testCORSnull() |
void |
testCORSstar() |
void |
testSetCachingHeaders() |
void |
testSetCachingHeadersAllowProxy() |
void |
testSetCachingHeadersFixedTtl() |
void |
testSetCachingHeadersNoCache() |
void |
testSetCachingHeadersNoProxy() |
void |
testSetCachingHeadersWithTtlAndNoProxy() |
void |
testSetNoCche() |
public static final FakeTimeSource timeSource
public static final long testStartTime
public void testSetCachingHeaders()
public void testSetCachingHeadersNoProxy()
public void testSetCachingHeadersAllowProxy()
public void testSetCachingHeadersFixedTtl()
public void testSetCachingHeadersWithTtlAndNoProxy()
public void testSetCachingHeadersNoCache()
public void testSetNoCche()
public void testCORSstar()
public void testCORSnull()
public void testCORSmultiple()
public static void checkCacheControlHeaders(long testStartTime,
HttpServletResponseRecorder response,
int ttl,
boolean noProxy)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.