public class ServletStreamServerConfigurationImpl extends Object implements StreamServerConfiguration
If you are trying to integrate jUPnP with an existing/running servlet container, implement
ServletContainerAdapter.
| Modifier and Type | Field and Description |
|---|---|
protected int |
asyncTimeoutSeconds |
protected int |
listenPort |
protected ServletContainerAdapter |
servletContainerAdapter |
| Constructor and Description |
|---|
ServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter)
Defaults to port '0', ephemeral.
|
ServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter,
int listenPort) |
ServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter,
int listenPort,
int asyncTimeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncTimeoutSeconds()
The time in seconds this server wait for the
Router to execute a
UpnpStream. |
int |
getListenPort() |
ServletContainerAdapter |
getServletContainerAdapter() |
void |
setAsyncTimeoutSeconds(int asyncTimeoutSeconds) |
void |
setListenPort(int listenPort) |
void |
setServletContainerAdapter(ServletContainerAdapter servletContainerAdapter) |
protected ServletContainerAdapter servletContainerAdapter
protected int listenPort
protected int asyncTimeoutSeconds
public ServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter)
public ServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter, int listenPort)
public ServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter, int listenPort, int asyncTimeoutSeconds)
public int getListenPort()
getListenPort in interface StreamServerConfiguration0.public void setListenPort(int listenPort)
public int getAsyncTimeoutSeconds()
Router to execute a
UpnpStream.public void setAsyncTimeoutSeconds(int asyncTimeoutSeconds)
public ServletContainerAdapter getServletContainerAdapter()
public void setServletContainerAdapter(ServletContainerAdapter servletContainerAdapter)
Copyright © 2023 jUPnP.org. All rights reserved.