org.glassfish.tyrus.client
Class DefaultClientEndpointConfiguration
java.lang.Object
org.glassfish.tyrus.DefaultEndpointConfiguration
org.glassfish.tyrus.client.DefaultClientEndpointConfiguration
- All Implemented Interfaces:
- ClientEndpointConfiguration, EndpointConfiguration
public class DefaultClientEndpointConfiguration
- extends DefaultEndpointConfiguration
- implements ClientEndpointConfiguration
Configuration used for client endpoints as the default one.
The object is immutable.
- Author:
- Stepan Kopriva (stepan.kopriva at oracle.com)
|
Method Summary |
List<String> |
getExtensions()
Return the extensions, in order of preference, favorite first, that this client would
like to use for its sessions. |
List<String> |
getPreferredSubprotocols()
Return the protocols, in order of preference, favorite first, that this client would
like to use for its sessions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPreferredSubprotocols
public List<String> getPreferredSubprotocols()
- Return the protocols, in order of preference, favorite first, that this client would
like to use for its sessions.
- Specified by:
getPreferredSubprotocols in interface ClientEndpointConfiguration
- Returns:
Collections.UnmodifiableList of preferred sub-protocols.
getExtensions
public List<String> getExtensions()
- Return the extensions, in order of preference, favorite first, that this client would
like to use for its sessions.
- Specified by:
getExtensions in interface ClientEndpointConfiguration
- Returns:
Collections.UnmodifiableList of extensions.
Copyright © 2012. All Rights Reserved.