public class HTTPResourceTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private HttpClient |
client |
private String |
existsURL |
private String |
nonExistsURL |
| Constructor and Description |
|---|
HTTPResourceTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
emptyDir(File dir) |
void |
existsTest() |
private GenericApplicationContext |
getContext(String fileName,
File theDir) |
void |
setupClient() |
void |
springLoadFileCache() |
void |
springLoadMemCache() |
void |
testCachedCache() |
void |
testCachedNoCache() |
void |
testCloseResponse() |
void |
testCompare() |
void |
testRelated() |
private final String existsURL
private final String nonExistsURL
private HttpClient client
public void existsTest()
throws IOException
IOExceptionpublic void testCompare()
throws IOException
IOExceptionpublic void testRelated()
throws IOException
IOExceptionpublic void testCachedNoCache()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionprivate GenericApplicationContext getContext(String fileName, File theDir)
public void springLoadMemCache()
throws IOException
IOExceptionprivate void emptyDir(File dir)
public void springLoadFileCache()
throws IOException
IOExceptionpublic void testCloseResponse()
Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.