mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 12:59:30 +00:00
Issue #847 - deprecate asyncWriteTimeout in the jetty websocket api
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
9325a5bc16
commit
b138ce55bb
@ -188,6 +188,7 @@ public class WebSocketPolicy
|
||||
*
|
||||
* @return the timeout for async write operations. negative values indicate disabled timeout.
|
||||
*/
|
||||
@Deprecated
|
||||
public long getAsyncWriteTimeout()
|
||||
{
|
||||
return asyncWriteTimeout;
|
||||
|
@ -427,6 +427,7 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketCont
|
||||
*
|
||||
* @return number of milliseconds for timeout of an attempted write operation
|
||||
*/
|
||||
@Deprecated
|
||||
public long getAsyncWriteTimeout()
|
||||
{
|
||||
return getPolicy().getAsyncWriteTimeout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user