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.
|
* @return the timeout for async write operations. negative values indicate disabled timeout.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public long getAsyncWriteTimeout()
|
public long getAsyncWriteTimeout()
|
||||||
{
|
{
|
||||||
return asyncWriteTimeout;
|
return asyncWriteTimeout;
|
||||||
|
|
|
@ -427,6 +427,7 @@ public class WebSocketClient extends ContainerLifeCycle implements WebSocketCont
|
||||||
*
|
*
|
||||||
* @return number of milliseconds for timeout of an attempted write operation
|
* @return number of milliseconds for timeout of an attempted write operation
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public long getAsyncWriteTimeout()
|
public long getAsyncWriteTimeout()
|
||||||
{
|
{
|
||||||
return getPolicy().getAsyncWriteTimeout();
|
return getPolicy().getAsyncWriteTimeout();
|
||||||
|
|
Loading…
Reference in New Issue