Skip to content

Commit

Permalink
Merge pull request #4597 from eclipse/jetty-9.4.x-847-WSasyncWriteTim…
Browse files Browse the repository at this point in the history
…eout

Issue #847 - deprecate asyncWriteTimeout in the jetty websocket API
  • Loading branch information
lachlan-roberts committed Mar 1, 2020
2 parents c29d966 + b138ce5 commit b014e2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -188,6 +188,7 @@ public WebSocketPolicy delegateAs(WebSocketBehavior behavior)
*
* @return the timeout for async write operations. negative values indicate disabled timeout.
*/
@Deprecated
public long getAsyncWriteTimeout()
{
return asyncWriteTimeout;
Expand Down
Expand Up @@ -427,6 +427,7 @@ public boolean isDispatchIO()
*
* @return number of milliseconds for timeout of an attempted write operation
*/
@Deprecated
public long getAsyncWriteTimeout()
{
return getPolicy().getAsyncWriteTimeout();
Expand Down

0 comments on commit b014e2f

Please sign in to comment.