- canHandle(ChallengeRequest) - Method in class com.kaazing.net.auth.ChallengeHandler
-
Can the presented challenge be potentially handled by this challenge handler?
- canHandle(ChallengeRequest) - Method in class com.kaazing.net.auth.DispatchChallengeHandler
-
- ChallengeHandler - Class in com.kaazing.net.auth
-
A ChallengeHandler is responsible for producing responses to authentication challenges.
- ChallengeHandler() - Constructor for class com.kaazing.net.auth.ChallengeHandler
-
- ChallengeRequest - Class in com.kaazing.net.auth
-
An immutable object representing the challenge presented by the server when the client accessed
the URI represented by a location.
- ChallengeRequest(String, String) - Constructor for class com.kaazing.net.auth.ChallengeRequest
-
Constructor from the protected URI location triggering the challenge,
and an entire server-provided 'WWW-Authenticate:' string.
- ChallengeResponse - Class in com.kaazing.net.auth
-
A challenge response contains a character array representing the response to the server,
and a reference to the next challenge handler to handle any further challenges for the request.
- ChallengeResponse(char[], ChallengeHandler) - Constructor for class com.kaazing.net.auth.ChallengeResponse
-
Constructor from a set of credentials to send to the server in an 'Authorization:' header
and the next challenge handler responsible for handling any further challenges for the request.
- clear(String...) - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Clear any data associated with the provided realm names, including any realm-specific location information.
- clearCredentials() - Method in class com.kaazing.net.auth.ChallengeResponse
-
Clear the credentials of this response.
- close() - Method in class com.kaazing.net.sse.SseEventSource
-
Disconnects with the server.
- close() - Method in class com.kaazing.net.ws.WebSocket
-
Disconnects with the server.
- close(int) - Method in class com.kaazing.net.ws.WebSocket
-
Disconnects with the server with code.
- close(int, String) - Method in class com.kaazing.net.ws.WebSocket
-
Disconnects with the server with code and reason.
- close() - Method in class com.kaazing.net.ws.WsURLConnection
-
Disconnects with the server.
- close(int) - Method in class com.kaazing.net.ws.WsURLConnection
-
Disconnects with the server with code.
- close(int, String) - Method in class com.kaazing.net.ws.WsURLConnection
-
Disconnects with the server with code and reason.
- com.kaazing.net - package com.kaazing.net
-
- com.kaazing.net.auth - package com.kaazing.net.auth
-
- com.kaazing.net.http - package com.kaazing.net.http
-
- com.kaazing.net.sse - package com.kaazing.net.sse
-
- com.kaazing.net.ws - package com.kaazing.net.ws
-
- compare(URI, URI) - Method in enum com.kaazing.net.http.HttpRedirectPolicy
-
Returns 0, if the aspects of current and the redirected URIs match as per
the option.
- connect() - Method in class com.kaazing.net.sse.SseEventSource
-
Connects with the server using an end-point.
- connect() - Method in class com.kaazing.net.ws.WebSocket
-
Connects with the server using an endpoint.
- connect() - Method in class com.kaazing.net.ws.WsURLConnection
-
Connects with the server using an end-point.
- create() - Static method in class com.kaazing.net.auth.BasicChallengeHandler
-
Creates a new instance of
BasicChallengeHandler
using the
ServiceLoader
API with the implementation specified under
META-INF/services.
- create(ClassLoader) - Static method in class com.kaazing.net.auth.BasicChallengeHandler
-
Creates a new instance of
BasicChallengeHandler
with the
specified
ClassLoader
using the
ServiceLoader
API with
the implementation specified under META-INF/services.
- create(Class<T>) - Static method in class com.kaazing.net.auth.ChallengeHandler
-
Creates a new instance of the sub-class of
ChallengeHandler
using
the
ServiceLoader
API with the implementation specified under
META-INF/services.
- create(Class<T>, ClassLoader) - Static method in class com.kaazing.net.auth.ChallengeHandler
-
- create() - Static method in class com.kaazing.net.auth.DispatchChallengeHandler
-
Creates a new instance of
DispatchChallengeHandler
using the
ServiceLoader
API with the implementation specified under
META-INF/services.
- create(ClassLoader) - Static method in class com.kaazing.net.auth.DispatchChallengeHandler
-
- create() - Static method in class com.kaazing.net.auth.KerberosChallengeHandler
-
- create(ClassLoader) - Static method in class com.kaazing.net.auth.KerberosChallengeHandler
-
- create() - Static method in class com.kaazing.net.auth.NegotiableChallengeHandler
-
Creates a new instance of
NegotiableChallengeHandler
using the
ServiceLoader
API with the implementation specified under
META-INF/services.
- create(ClassLoader) - Static method in class com.kaazing.net.auth.NegotiableChallengeHandler
-
- create() - Static method in class com.kaazing.net.auth.NegotiateChallengeHandler
-
Creates a new instance of
NegotiateChallengeHandler
using the
ServiceLoader
API with the implementation specified under
META-INF/services.
- create(ClassLoader) - Static method in class com.kaazing.net.auth.NegotiateChallengeHandler
-
- createEventSource(URI) - Method in class com.kaazing.net.sse.SseEventSourceFactory
-
- createEventSourceFactory() - Static method in class com.kaazing.net.sse.SseEventSourceFactory
-
- createParameter(String, Class<T>, EnumSet<WebSocketExtension.Parameter.Metadata>) - Method in class com.kaazing.net.ws.WebSocketExtension
-
Creates an WebSocketExtensionParamter
of the specified type.
- createURL(String) - Static method in class com.kaazing.net.URLFactory
-
Creates a URL object from the String representation.
- createURL(URL, String) - Static method in class com.kaazing.net.URLFactory
-
Creates a URL by parsing the given spec within a specified context.
- createURL(String, String, String) - Static method in class com.kaazing.net.URLFactory
-
Creates a URL from the specified protocol name, host name, and file name.
- createURL(String, String, int, String) - Static method in class com.kaazing.net.URLFactory
-
Creates a URL from the specified protocol name, host name, port number,
and file name.
- createWebSocket(URI) - Method in class com.kaazing.net.ws.WebSocketFactory
-
Creates a
WebSocket
to establish a full-duplex connection to the
target location.
- createWebSocket(URI, String...) - Method in class com.kaazing.net.ws.WebSocketFactory
-
Creates a
WebSocket
to establish a full-duplex connection to the
target location with one of the specified protocols on a supported
WebSocket provider.
- createWebSocketFactory() - Static method in class com.kaazing.net.ws.WebSocketFactory
-
Creates and returns a new instance of the default implementation of the
WebSocketFactory
.
- getAuthenticationParameters() - Method in class com.kaazing.net.auth.ChallengeRequest
-
Return the string after the space separator, not including the authentication scheme nor the space itself,
or null
if no such string exists.
- getAuthenticationScheme() - Method in class com.kaazing.net.auth.ChallengeRequest
-
Return the authentication scheme with which the server is challenging.
- getBinary() - Method in class com.kaazing.net.ws.WebSocketMessageReader
-
Returns the payload of the last received message.
- getChallengeHandler() - Method in class com.kaazing.net.ws.WebSocket
-
Gets the
ChallengeHandler
that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals.
- getChallengeHandler() - Method in class com.kaazing.net.ws.WsURLConnection
-
Gets the
ChallengeHandler
that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals.
- getCode() - Method in exception com.kaazing.net.ws.WebSocketException
-
- getConnectTimeout() - Method in class com.kaazing.net.ws.WebSocket
-
Gets the connect timeout in milliseconds.
- getConnectTimeout() - Method in class com.kaazing.net.ws.WsURLConnection
-
Gets the connect timeout in milliseconds.
- getCredentials() - Method in class com.kaazing.net.auth.ChallengeResponse
-
Return a set of credentials to send to the server in an 'Authorization:' header.
- getCredentials() - Method in class com.kaazing.net.auth.LoginHandler
-
Gets the password authentication credentials from an arbitrary source.
- getData() - Method in class com.kaazing.net.sse.SseEventReader
-
Returns the payload of the last received event.
- getDefaultChallengeHandler() - Method in class com.kaazing.net.ws.WebSocketFactory
-
Gets the default
ChallengeHandler
that is used during
authentication both at the connect-time as well as at subsequent
revalidation-time that occurs at regular intervals.
- getDefaultConnectTimeout() - Method in class com.kaazing.net.ws.WebSocketFactory
-
Gets the default connect timeout in milliseconds.
- getDefaultEnabledExtensions() - Method in class com.kaazing.net.ws.WebSocketFactory
-
Gets the names of the default enabled extensions that will be inherited
by all the
WebSocket
s created using this factory.
- getDefaultFollowRedirect() - Method in class com.kaazing.net.sse.SseEventSourceFactory
-
- getDefaultLocation() - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Retrieve the specified default location.
- getDefaultParameter(WebSocketExtension.Parameter<T>) - Method in class com.kaazing.net.ws.WebSocketFactory
-
- getDefaultRedirectPolicy() - Method in class com.kaazing.net.ws.WebSocketFactory
-
- getDefaultRetryTimeout() - Method in class com.kaazing.net.sse.SseEventSourceFactory
-
Returns the default retry timeout.
- getEnabledExtensions() - Method in class com.kaazing.net.ws.WebSocket
-
Gets the names of all the extensions that have been enabled for this
connection.
- getEnabledExtensions() - Method in class com.kaazing.net.ws.WsURLConnection
-
Gets the names of all the extensions that have been enabled for this
connection.
- getEnabledParameter(WebSocketExtension.Parameter<T>) - Method in class com.kaazing.net.ws.WebSocket
-
- getEnabledParameter(WebSocketExtension.Parameter<T>) - Method in class com.kaazing.net.ws.WsURLConnection
-
- getEnabledProtocols() - Method in class com.kaazing.net.ws.WebSocket
-
Gets the names of all the protocols that are enabled for this
connection.
- getEnabledProtocols() - Method in class com.kaazing.net.ws.WsURLConnection
-
Gets the names of all the protocols that are enabled for this
connection.
- getEventReader() - Method in class com.kaazing.net.sse.SseEventSource
-
- getFollowRedirect() - Method in class com.kaazing.net.sse.SseEventSource
-
- getInputStream() - Method in class com.kaazing.net.ws.WebSocket
-
- getInputStream() - Method in class com.kaazing.net.ws.WsURLConnection
-
- getLocation() - Method in class com.kaazing.net.auth.ChallengeRequest
-
Return the protected URI the access of which triggered this challenge as a String
.
- getLoginHandler() - Method in class com.kaazing.net.auth.BasicChallengeHandler
-
Get the general (non-realm-specific) login handler associated with this challenge handler.
- getLoginHandler() - Method in class com.kaazing.net.auth.NegotiableChallengeHandler
-
Get the general login handler associated with this challenge handler.
- getMessageReader() - Method in class com.kaazing.net.ws.WebSocket
-
- getMessageReader() - Method in class com.kaazing.net.ws.WsURLConnection
-
- getMessageWriter() - Method in class com.kaazing.net.ws.WebSocket
-
- getMessageWriter() - Method in class com.kaazing.net.ws.WsURLConnection
-
- getName() - Method in class com.kaazing.net.sse.SseEventReader
-
Returns the name of the last received event.
- getNegotiatedExtensions() - Method in class com.kaazing.net.ws.WebSocket
-
Gets names of all the enabled extensions that have been successfully
negotiated between the client and the server during the initial
handshake.
- getNegotiatedExtensions() - Method in class com.kaazing.net.ws.WsURLConnection
-
Gets names of all the enabled extensions that have been successfully
negotiated between the client and the server during the initial
handshake.
- getNegotiatedParameter(WebSocketExtension.Parameter<T>) - Method in class com.kaazing.net.ws.WebSocket
-
- getNegotiatedParameter(WebSocketExtension.Parameter<T>) - Method in class com.kaazing.net.ws.WsURLConnection
-
- getNegotiatedProtocol() - Method in class com.kaazing.net.ws.WebSocket
-
Gets the protocol that the client and the server have successfully
negotiated.
- getNegotiatedProtocol() - Method in class com.kaazing.net.ws.WsURLConnection
-
Gets the protocol that the client and the server have successfully
negotiated.
- getNextChallengeHandler() - Method in class com.kaazing.net.auth.ChallengeResponse
-
Return the next challenge handler responsible for handling any further challenges for the request.
- getOutputStream() - Method in class com.kaazing.net.ws.WebSocket
-
- getOutputStream() - Method in class com.kaazing.net.ws.WsURLConnection
-
- getParameter(String) - Method in class com.kaazing.net.ws.WebSocketExtension
-
- getParameters() - Method in class com.kaazing.net.ws.WebSocketExtension
-
- getParameters(WebSocketExtension.Parameter.Metadata...) - Method in class com.kaazing.net.ws.WebSocketExtension
-
- getReader() - Method in class com.kaazing.net.ws.WebSocket
-
Returns a
Reader
to receive
text messages from this
connection.
- getReader() - Method in class com.kaazing.net.ws.WsURLConnection
-
Returns a
Reader
to receive
text messages from this
connection.
- getRealmLocation(String) - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Return the URI to be used for Kerberos service requests when a user in the realm mentioned
provides credentials.
- getReason() - Method in exception com.kaazing.net.ws.WebSocketException
-
- getRedirectPolicy() - Method in class com.kaazing.net.ws.WebSocket
-
Returns
HttpRedirectPolicy
indicating the policy for
following HTTP redirects (status code 3xx).
- getRedirectPolicy() - Method in class com.kaazing.net.ws.WsURLConnection
-
- getRetryTimeout() - Method in class com.kaazing.net.sse.SseEventSource
-
Returns the retry timeout in milliseconds.
- getServiceName() - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Retrieve the service name.
- getSupportedExtensions() - Method in class com.kaazing.net.ws.WebSocket
-
Returns the names of supported extensions that have been discovered.
- getSupportedExtensions() - Method in class com.kaazing.net.ws.WebSocketFactory
-
Returns the names of supported extensions that have been discovered.
- getSupportedExtensions() - Method in class com.kaazing.net.ws.WsURLConnection
-
Returns the names of extensions that have been discovered for this
connection.
- getSupportedOids() - Method in class com.kaazing.net.auth.NegotiableChallengeHandler
-
Return a collection of string representations of object identifiers
supported by this challenge handler implementation, in dot-separated notation.
- getSupportedProtocols() - Method in class com.kaazing.net.URLStreamHandlerFactorySpi
-
Returns a list of supported protocols.
- getText() - Method in class com.kaazing.net.ws.WebSocketMessageReader
-
Returns the payload of the last received message.
- getType() - Method in class com.kaazing.net.sse.SseEventReader
-
- getType() - Method in class com.kaazing.net.ws.WebSocketMessageReader
-
- getWebSocketExtension(String) - Static method in class com.kaazing.net.ws.WebSocketExtension
-
- getWebSocketFactory() - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Returns the
WebSocketFactory
instance associated with this
KerberosChallengeHandler.
- getWriter() - Method in class com.kaazing.net.ws.WebSocket
-
Returns a
Writer
to send
text messages from this
connection.
- getWriter() - Method in class com.kaazing.net.ws.WsURLConnection
-
Returns a
Writer
to send
text messages from this
connection.
- setChallengeHandler(ChallengeHandler) - Method in class com.kaazing.net.ws.WebSocket
-
Sets the
ChallengeHandler
that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals.
- setChallengeHandler(ChallengeHandler) - Method in class com.kaazing.net.ws.WsURLConnection
-
Sets the
ChallengeHandler
that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals.
- setConnectTimeout(int) - Method in class com.kaazing.net.ws.WebSocket
-
Sets the connect timeout in milliseconds.
- setConnectTimeout(int) - Method in class com.kaazing.net.ws.WsURLConnection
-
Sets the connect timeout in milliseconds.
- setCredentials(char[]) - Method in class com.kaazing.net.auth.ChallengeResponse
-
Establish the credentials for this response.
- setDefaultChallengeHandler(ChallengeHandler) - Method in class com.kaazing.net.ws.WebSocketFactory
-
Sets the default
ChallengeHandler
that is used during
authentication both at the connect-time as well as at subsequent
revalidation-time that occurs at regular intervals.
- setDefaultConnectTimeout(int) - Method in class com.kaazing.net.ws.WebSocketFactory
-
Sets the default connect timeout in milliseconds.
- setDefaultEnabledExtensions(Collection<String>) - Method in class com.kaazing.net.ws.WebSocketFactory
-
Registers the names of all the default enabled extensions to be inherited
by all the
WebSocket
s created using this factory.
- setDefaultFollowRedirect(HttpRedirectPolicy) - Method in class com.kaazing.net.sse.SseEventSourceFactory
-
Sets the default
HttpRedirectPolicy
that is to be inherited by
all the
EventSource
s created using this factory instance.
- setDefaultLocation(URI) - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Set the default location to connect to a Kerberos service.
- setDefaultParameter(WebSocketExtension.Parameter<T>, T) - Method in class com.kaazing.net.ws.WebSocketFactory
-
- setDefaultRedirectPolicy(HttpRedirectPolicy) - Method in class com.kaazing.net.ws.WebSocketFactory
-
- setDefaultRetryTimeout(long) - Method in class com.kaazing.net.sse.SseEventSourceFactory
-
Sets the default retry timeout that is to be inherited by all the
EventSource
s created using this factory instance.
- setEnabledExtensions(Collection<String>) - Method in class com.kaazing.net.ws.WebSocket
-
Registers the names of all the extensions that must be negotiated between
the client and the server during the handshake.
- setEnabledExtensions(Collection<String>) - Method in class com.kaazing.net.ws.WsURLConnection
-
Registers the names of all the extensions that must be negotiated between
the client and the server during the handshake.
- setEnabledParameter(WebSocketExtension.Parameter<T>, T) - Method in class com.kaazing.net.ws.WebSocket
-
- setEnabledParameter(WebSocketExtension.Parameter<T>, T) - Method in class com.kaazing.net.ws.WsURLConnection
-
- setEnabledProtocols(Collection<String>) - Method in class com.kaazing.net.ws.WebSocket
-
Registers the protocols to be negotiated with the server during the
handshake.
- setEnabledProtocols(Collection<String>) - Method in class com.kaazing.net.ws.WsURLConnection
-
Registers the protocols to be negotiated with the server during the
handshake.
- setFollowRedirect(HttpRedirectPolicy) - Method in class com.kaazing.net.sse.SseEventSource
-
- setLoginHandler(LoginHandler) - Method in class com.kaazing.net.auth.BasicChallengeHandler
-
Provide a general (non-realm-specific) login handler to be used in association with this challenge handler.
- setLoginHandler(LoginHandler) - Method in class com.kaazing.net.auth.NegotiableChallengeHandler
-
Provide a general login handler to be used in association with this challenge handler.
- setNextChallengeHandler(ChallengeHandler) - Method in class com.kaazing.net.auth.ChallengeResponse
-
Establish the next challenge handler responsible for handling any further challenges for the request.
- setRealmLocation(String, URI) - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Specify the connect location of a Kerberos service to be used for users in the named realm.
- setRealmLoginHandler(String, LoginHandler) - Method in class com.kaazing.net.auth.BasicChallengeHandler
-
Set a Login Handler to be used if and only if a challenge request has
a realm parameter matching the provided realm.
- setRedirectPolicy(HttpRedirectPolicy) - Method in class com.kaazing.net.ws.WebSocket
-
- setRedirectPolicy(HttpRedirectPolicy) - Method in class com.kaazing.net.ws.WsURLConnection
-
- setRetryTimeout(long) - Method in class com.kaazing.net.sse.SseEventSource
-
Sets the retry timeout specified in milliseconds.
- setServiceName(String) - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
Specify the service principal name for which a ticket is desired.
- setWebSocketFactory(WebSocketFactory) - Method in class com.kaazing.net.auth.KerberosChallengeHandler
-
- SseEventReader - Class in com.kaazing.net.sse
-
- SseEventReader() - Constructor for class com.kaazing.net.sse.SseEventReader
-
- SseEventSource - Class in com.kaazing.net.sse
-
SseEventSource provides an implementation of HTML5 Server-sent Events.
- SseEventSource() - Constructor for class com.kaazing.net.sse.SseEventSource
-
- SseEventSourceFactory - Class in com.kaazing.net.sse
-
- SseEventSourceFactory() - Constructor for class com.kaazing.net.sse.SseEventSourceFactory
-
- SseEventType - Enum in com.kaazing.net.sse
-
- SseException - Exception in com.kaazing.net.sse
-
- SseException(String) - Constructor for exception com.kaazing.net.sse.SseException
-
- SseException(Exception) - Constructor for exception com.kaazing.net.sse.SseException
-