public class WsWriteTimeout extends java.lang.Object implements BackgroundProcess
ServletOutputStream
and
ServletInputStream
so there is no way to set a timeout
for writes to the client.Constructor and Description |
---|
WsWriteTimeout() |
Modifier and Type | Method and Description |
---|---|
void |
backgroundProcess() |
int |
getProcessPeriod()
The default value is 1 which means asynchronous write timeouts are
processed every 1 second.
|
void |
register(WsRemoteEndpointImplServer endpoint) |
void |
setProcessPeriod(int period) |
void |
unregister(WsRemoteEndpointImplServer endpoint) |
public void backgroundProcess()
backgroundProcess
in interface BackgroundProcess
public void setProcessPeriod(int period)
setProcessPeriod
in interface BackgroundProcess
public int getProcessPeriod()
getProcessPeriod
in interface BackgroundProcess
public void register(WsRemoteEndpointImplServer endpoint)
public void unregister(WsRemoteEndpointImplServer endpoint)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.