Issue #4248 - Deprecating UpgradeResponse setSuccess / isSuccess

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2019-11-13 15:32:23 -06:00
parent 544ad0a28a
commit 6a6206d8e4
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 4 additions and 0 deletions

View File

@ -103,7 +103,9 @@ public interface UpgradeResponse
* or was failed (resulting in no upgrade handshake)
*
* @return true if upgrade response was generated, false if no upgrade response was generated
* @deprecated this has no replacement, will be removed in Jetty 10
*/
@Deprecated
boolean isSuccess();
/**
@ -174,6 +176,8 @@ public interface UpgradeResponse
*
* @param success true to indicate a response to the upgrade handshake was sent, false to indicate no upgrade
* response was sent
* @deprecated this has no replacement, will be removed in Jetty 10
*/
@Deprecated
void setSuccess(boolean success);
}