org.glassfish.tyrus
Class DefaultEndpointConfiguration
java.lang.Object
org.glassfish.tyrus.DefaultEndpointConfiguration
- All Implemented Interfaces:
- EndpointConfiguration
- Direct Known Subclasses:
- DefaultClientEndpointConfiguration, DefaultServerEndpointConfiguration
public abstract class DefaultEndpointConfiguration
- extends Object
- implements EndpointConfiguration
Default configuration implementation, immutable.
- Author:
- Stepan Kopriva (stepan.kopriva at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subProtocols
protected final List<String> subProtocols
Collections.UnmodifiableList of sub-protocols supported by the corresponding Endpoint.
extensions
protected final List<String> extensions
Collections.UnmodifiableList of extensions supported by the corresponding Endpoint.
DefaultEndpointConfiguration
protected DefaultEndpointConfiguration(List<Encoder> encoders,
List<Decoder> decoders,
List<String> subprotocols,
List<String> extensions)
getEncoders
public List<Encoder> getEncoders()
- Encoders used to encode messages.
- Specified by:
getEncoders in interface EndpointConfiguration
- Returns:
Collections.UnmodifiableList of Encoder.
getDecoders
public List<Decoder> getDecoders()
- Decoders used to decode messages.
- Specified by:
getDecoders in interface EndpointConfiguration
- Returns:
Collections.UnmodifiableList of Decoder.
Copyright © 2012. All Rights Reserved.