Package | Description |
---|---|
oracle.wsc.android.session |
Session API.
|
Modifier and Type | Method and Description |
---|---|
static WSCSession.Builder |
WSCSession.Builder.create(URI webSocketURI)
Creates a new
WSCSession.Builder . |
WSCSession.Builder |
WSCSession.Builder.withConnectionCallback(WSCSession.ConnectionCallback value)
With connection callback listener.
|
WSCSession.Builder |
WSCSession.Builder.withExtHeaders(Map<String,?> value)
With extension headers which will be sent as part of session connect.
|
WSCSession.Builder |
WSCSession.Builder.withHttpContext(HttpContext value)
With HTTP context.
|
WSCSession.Builder |
WSCSession.Builder.withIceServerConfig(IceServerConfig config)
With ICE server configuration.
|
WSCSession.Builder |
WSCSession.Builder.withObserver(WSCSession.Observer value)
With observer.
|
WSCSession.Builder |
WSCSession.Builder.withPackage(Package value)
With package.
|
WSCSession.Builder |
WSCSession.Builder.withProperty(String name,
Object value)
With property that allows configuration of various internal behaviors.
|
WSCSession.Builder |
WSCSession.Builder.withServiceAuthHandler(ServiceAuthHandler handler)
With service authentication handler.
|
WSCSession.Builder |
WSCSession.Builder.withSessionId(String value)
With session id.
|
WSCSession.Builder |
WSCSession.Builder.withUserName(String value)
With username which will be sent with session connect message.
|