Package org.jupnp.transport.impl.jetty
Klasse StreamClientConfigurationImpl
java.lang.Object
org.jupnp.transport.spi.AbstractStreamClientConfiguration
org.jupnp.transport.impl.jetty.StreamClientConfigurationImpl
- Alle implementierten Schnittstellen:
StreamClientConfiguration
Settings for the Jetty 9.4.x implementation.
- Autor:
- Christian Bauer - initial contribution, Victor Toni - add option for buffer size
-
Feldübersicht
Von Klasse geerbte Felder org.jupnp.transport.spi.AbstractStreamClientConfiguration
logWarningSeconds, requestExecutorService, retryAfterSeconds, retryIterations, timeoutSeconds -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungStreamClientConfigurationImpl(ExecutorService timeoutExecutorService) StreamClientConfigurationImpl(ExecutorService timeoutExecutorService, int timeoutSeconds) StreamClientConfigurationImpl(ExecutorService timeoutExecutorService, int timeoutSeconds, int logWarningSeconds, int retryAfterSeconds, int retryIterations) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintintNote: leaving this to the default value of-1will let the HTTP client use its defaults.Von Klasse geerbte Methoden org.jupnp.transport.spi.AbstractStreamClientConfiguration
getLogWarningSeconds, getRequestExecutorService, getRetryAfterSeconds, getRetryIterations, getTimeoutSeconds, getUserAgentValue
-
Konstruktordetails
-
StreamClientConfigurationImpl
-
StreamClientConfigurationImpl
-
StreamClientConfigurationImpl
public StreamClientConfigurationImpl(ExecutorService timeoutExecutorService, int timeoutSeconds, int logWarningSeconds, int retryAfterSeconds, int retryIterations)
-
-
Methodendetails
-
getRequestRetryCount
public int getRequestRetryCount()- Gibt zurück:
- By default
0.
-
getSocketBufferSize
public int getSocketBufferSize()Note: leaving this to the default value of-1will let the HTTP client use its defaults.- Gibt zurück:
- By default
-1, change to change buffer size)
-