|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teleal.cling.transport.impl.apache.StreamClientConfigurationImpl
public class StreamClientConfigurationImpl
Settings for the Apache HTTP Components implementation.
Constructor Summary | |
---|---|
StreamClientConfigurationImpl()
|
Method Summary | |
---|---|
int |
getConnectionTimeoutSeconds()
Defaults to 5 seconds; |
String |
getContentCharset()
|
int |
getDataReadTimeoutSeconds()
Defaults to 5 seconds; |
int |
getMaxTotalConnections()
Defaults to 1024. |
int |
getRequestRetryCount()
if -1, the default value of HttpClient will be used (3 in httpclient 4.1) |
int |
getSocketBufferSize()
if -1, the default value of HttpClient will be used (8192 in httpclient 4.1) |
boolean |
getStaleCheckingEnabled()
|
String |
getUserAgentValue(int majorVersion,
int minorVersion)
Defaults to the values defined in Constants . |
void |
setConnectionTimeoutSeconds(int connectionTimeoutSeconds)
|
void |
setContentCharset(String contentCharset)
|
void |
setDataReadTimeoutSeconds(int dataReadTimeoutSeconds)
|
void |
setMaxTotalConnections(int maxTotalConnections)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamClientConfigurationImpl()
Method Detail |
---|
public int getMaxTotalConnections()
public void setMaxTotalConnections(int maxTotalConnections)
public int getConnectionTimeoutSeconds()
public void setConnectionTimeoutSeconds(int connectionTimeoutSeconds)
public int getDataReadTimeoutSeconds()
public void setDataReadTimeoutSeconds(int dataReadTimeoutSeconds)
public String getContentCharset()
public void setContentCharset(String contentCharset)
public String getUserAgentValue(int majorVersion, int minorVersion)
Constants
.
getUserAgentValue
in interface StreamClientConfiguration
majorVersion
- The UPnP UDA major version.minorVersion
- The UPnP UDA minor version.
public int getSocketBufferSize()
public boolean getStaleCheckingEnabled()
public int getRequestRetryCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |