public class JettyTransportConfiguration extends Object implements TransportConfiguration
TransportConfiguration for Jetty HTTP components.| Modifier and Type | Field and Description |
|---|---|
static TransportConfiguration |
INSTANCE |
| Constructor and Description |
|---|
JettyTransportConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
StreamClient |
createStreamClient(ExecutorService executorService,
StreamClientConfiguration configuration)
Creates a
StreamClient using the given ExecutorService for async calls. |
StreamServer |
createStreamServer(int listenerPort)
Creates a
StreamServer using the given listenerPort. |
public static final TransportConfiguration INSTANCE
public StreamClient createStreamClient(ExecutorService executorService, StreamClientConfiguration configuration)
TransportConfigurationStreamClient using the given ExecutorService for async calls.createStreamClient in interface TransportConfigurationexecutorService - used to dispatch request/response processing.StreamClientpublic StreamServer createStreamServer(int listenerPort)
TransportConfigurationStreamServer using the given listenerPort.createStreamServer in interface TransportConfigurationlistenerPort - port to listen onStreamServerCopyright © 2023 jUPnP.org. All rights reserved.