Skip to content

Commit

Permalink
Issue #847 - deprecate asyncWriteTimeout in the jetty websocket api
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Feb 21, 2020
1 parent 9325a5b commit b138ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 b138ce5

Please sign in to comment.