353073 expose cookie api

This commit is contained in:
Greg Wilkins 2011-08-11 17:26:15 +10:00
parent c07e14840c
commit 8ae43e9bea
1 changed files with 13 additions and 0 deletions

View File

@ -201,6 +201,19 @@ public class WebSocketClient extends AggregateLifeCycle
_protocol = protocol;
}
/* ------------------------------------------------------------ */
public Map<String,String> getCookies()
{
return _cookies;
}
/* ------------------------------------------------------------ */
public List<String> getExtensions()
{
return _extensions;
}
/* ------------------------------------------------------------ */
/** Open a WebSocket connection.
* Open a websocket connection to the URI and block until the connection is accepted or there is an error.