org.glassfish.tyrus.server
Class ServerConfiguration.EndpointWithConfiguration

java.lang.Object
  extended by org.glassfish.tyrus.server.ServerConfiguration.EndpointWithConfiguration
Enclosing interface:
ServerConfiguration

public static final class ServerConfiguration.EndpointWithConfiguration
extends Object

Representation of Endpoint-ServerEndpointConfiguration pair.


Constructor Summary
ServerConfiguration.EndpointWithConfiguration(javax.net.websocket.Endpoint endpoint, javax.net.websocket.ServerEndpointConfiguration configuration)
          Creates a new endpoint-configuration pair.
 
Method Summary
 boolean equals(Object obj)
           
 javax.net.websocket.ServerEndpointConfiguration getConfiguration()
          Returns the configuration associated with the endpoint returned from getEndpoint().
 javax.net.websocket.Endpoint getEndpoint()
          Returns the endpoint associated with the configuration returned from getConfiguration().
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConfiguration.EndpointWithConfiguration

public ServerConfiguration.EndpointWithConfiguration(javax.net.websocket.Endpoint endpoint,
                                                     javax.net.websocket.ServerEndpointConfiguration configuration)
Creates a new endpoint-configuration pair.

Parameters:
endpoint - Endpoint.
configuration - Configuration associated with the endpoint.
Method Detail

getEndpoint

public javax.net.websocket.Endpoint getEndpoint()
Returns the endpoint associated with the configuration returned from getConfiguration().

Returns:
endpoint.

getConfiguration

public javax.net.websocket.ServerEndpointConfiguration getConfiguration()
Returns the configuration associated with the endpoint returned from getEndpoint().

Returns:
endpoint configuration.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.