Class TestHTTPResource
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
-
- net.shibboleth.ext.spring.resource.HTTPResource
-
- net.shibboleth.ext.spring.resource.TestHTTPResource
-
- All Implemented Interfaces:
Component,DestructableComponent,IdentifiedComponent,InitializableComponent,Resource,Aware,BeanNameAware,InitializingBean,InputStreamSource,Resource
class TestHTTPResource extends HTTPResource
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.client.cache.CacheResponseStatusresponseStatus
-
Constructor Summary
Constructors Constructor Description TestHTTPResource(org.apache.http.client.HttpClient client, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.client.cache.CacheResponseStatusgetLastCacheResponseStatus()protected voidreportCachingStatus(org.apache.http.client.cache.HttpCacheContext context)-
Methods inherited from class net.shibboleth.ext.spring.resource.HTTPResource
afterPropertiesSet, buildHttpClientContext, closeResponse, contentLength, createRelative, createRelativeResource, exists, getDescription, getFile, getFilename, getInputStream, getResourceHeaders, getResponseHeader, getURI, getURL, isOpen, isReadable, lastModified, setBeanName, setHttpClientContextHandler
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getId, setId
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.core.io.Resource
isFile, readableChannel
-
-
-
-
Constructor Detail
-
TestHTTPResource
public TestHTTPResource(org.apache.http.client.HttpClient client, String url) throws IOException- Throws:
IOException
-
-
Method Detail
-
reportCachingStatus
protected void reportCachingStatus(org.apache.http.client.cache.HttpCacheContext context)
- Overrides:
reportCachingStatusin classHTTPResource
-
getLastCacheResponseStatus
public org.apache.http.client.cache.CacheResponseStatus getLastCacheResponseStatus()
-
-