public class WsWriteTimeout extends 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 BackgroundProcesspublic void setProcessPeriod(int period)
setProcessPeriod in interface BackgroundProcesspublic int getProcessPeriod()
getProcessPeriod in interface BackgroundProcesspublic void register(WsRemoteEndpointImplServer endpoint)
public void unregister(WsRemoteEndpointImplServer endpoint)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.