Issue #6696 - change method name to WebSocketNegotiation.upgrade()
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
d41a297352
commit
2aa966a854
|
@ -54,9 +54,9 @@ public abstract class WebSocketNegotiation
|
|||
return baseRequest;
|
||||
}
|
||||
|
||||
public void setBaseRequest(Request baseRequest)
|
||||
public void upgrade()
|
||||
{
|
||||
this.baseRequest = baseRequest;
|
||||
this.baseRequest = null;
|
||||
}
|
||||
|
||||
public HttpServletRequest getRequest()
|
||||
|
|
|
@ -167,7 +167,7 @@ public abstract class AbstractHandshaker implements Handshaker
|
|||
// Save state from request/response and remove reference to the base request/response.
|
||||
upgradeRequest.upgrade();
|
||||
upgradeResponse.upgrade();
|
||||
negotiation.setBaseRequest(null);
|
||||
negotiation.upgrade();
|
||||
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("upgrade connection={} session={} framehandler={}", connection, coreSession, handler);
|
||||
|
|
Loading…
Reference in New Issue