|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fourthline.cling.transport.impl.apache.StreamServerConfigurationImpl
public class StreamServerConfigurationImpl
Settings for the Apache HTTP Components implementation.
| Constructor Summary | |
|---|---|
StreamServerConfigurationImpl()
Defaults to port '0', ephemeral. |
|
StreamServerConfigurationImpl(int listenPort)
|
|
| Method Summary | |
|---|---|
int |
getBufferSizeKilobytes()
Determines the size of the internal socket buffer used to buffer data while receiving/transmitting HTTP messages. |
int |
getDataWaitTimeoutSeconds()
Defines the socket timeout (SO_TIMEOUT) in seconds, which is the timeout for waiting for data. |
int |
getListenPort()
|
int |
getTcpConnectionBacklog()
This is the maximum number of queued incoming connections to allow on the listening socket. |
boolean |
isStaleConnectionCheck()
Determines whether stale connection check is to be used. |
boolean |
isTcpNoDelay()
Determines whether Nagle's algorithm is to be used. |
void |
setBufferSizeKilobytes(int bufferSizeKilobytes)
|
void |
setDataWaitTimeoutSeconds(int dataWaitTimeoutSeconds)
|
void |
setListenPort(int listenPort)
|
void |
setStaleConnectionCheck(boolean staleConnectionCheck)
|
void |
setTcpConnectionBacklog(int tcpConnectionBacklog)
|
void |
setTcpNoDelay(boolean tcpNoDelay)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamServerConfigurationImpl()
public StreamServerConfigurationImpl(int listenPort)
| Method Detail |
|---|
public int getListenPort()
getListenPort in interface StreamServerConfigurationpublic void setListenPort(int listenPort)
public int getDataWaitTimeoutSeconds()
public void setDataWaitTimeoutSeconds(int dataWaitTimeoutSeconds)
public int getBufferSizeKilobytes()
public void setBufferSizeKilobytes(int bufferSizeKilobytes)
public boolean isStaleConnectionCheck()
true.
public void setStaleConnectionCheck(boolean staleConnectionCheck)
public boolean isTcpNoDelay()
true.
public void setTcpNoDelay(boolean tcpNoDelay)
public int getTcpConnectionBacklog()
public void setTcpConnectionBacklog(int tcpConnectionBacklog)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||