public interface Policy
Modifier and Type | Method and Description |
---|---|
int |
getChunkLength() |
long |
getFixedContentLength() |
HttpURLConnection |
getHttpConnectionToCache()
Returns the HttpURLConnection instance to store in the cache.
|
long |
getIfModifiedSince()
Returns the If-Modified-Since timestamp, or 0 if none is set.
|
URL |
getURL()
Returns the current destination URL, possibly a redirect.
|
boolean |
getUseCaches()
Returns true if HTTP response caches should be used.
|
boolean |
usingProxy()
Returns true if a non-direct proxy is specified.
|
boolean getUseCaches()
HttpURLConnection getHttpConnectionToCache()
URL getURL()
long getIfModifiedSince()
boolean usingProxy()
int getChunkLength()
long getFixedContentLength()
Copyright © 2014. All rights reserved.