javax.websocket
Class Encoder.Adapter
java.lang.Object
javax.websocket.Encoder.Adapter
- All Implemented Interfaces:
- Encoder
- Enclosing interface:
- Encoder
public abstract static class Encoder.Adapter
- extends Object
- implements Encoder
A convenience class for developers who do not wish to provide any
special behavior in the init() or destroy() methods.
|
Method Summary |
void |
destroy()
This method does nothing and may be overridden. |
void |
init(EndpointConfig config)
This method does nothing and may be overridden. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Encoder.Adapter
public Encoder.Adapter()
- Constructs an adapter.
init
public void init(EndpointConfig config)
- This method does nothing and may be overridden.
- Specified by:
init in interface Encoder
- Parameters:
config - the endpoint configuration object when being brought into
service
destroy
public void destroy()
- This method does nothing and may be overridden.
- Specified by:
destroy in interface Encoder
Copyright © 2012-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : users@websocket-spec.java.net