public interface RestrictedResourceRetriever extends ResourceRetriever
Modifier and Type | Method and Description |
---|---|
int |
getConnectTimeout()
Gets the HTTP connect timeout.
|
int |
getReadTimeout()
Gets the HTTP read timeout.
|
int |
getSizeLimit()
Gets the HTTP entity size limit.
|
void |
setConnectTimeout(int connectTimeoutMs)
Sets the HTTP connect timeout.
|
void |
setReadTimeout(int readTimeoutMs)
Sets the HTTP read timeout.
|
void |
setSizeLimit(int sizeLimitBytes)
Sets the HTTP entity size limit.
|
retrieveResource
int getConnectTimeout()
void setConnectTimeout(int connectTimeoutMs)
connectTimeoutMs
- The HTTP connect timeout, in milliseconds,
zero for infinite. Must not be negative.int getReadTimeout()
void setReadTimeout(int readTimeoutMs)
readTimeoutMs
- The HTTP read timeout, in milliseconds, zero
for infinite. Must not be negative.int getSizeLimit()
void setSizeLimit(int sizeLimitBytes)
sizeLimitBytes
- The HTTP entity size limit, in bytes, zero for
infinite. Must not be negative.Copyright © 2017 Connect2id Ltd.. All rights reserved.