javax.websocket
Class Decoder.Adapter
java.lang.Object
javax.websocket.Decoder.Adapter
- All Implemented Interfaces:
- Decoder
- Enclosing interface:
- Decoder
public abstract static class Decoder.Adapter
- extends Object
- implements Decoder
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 |
Decoder.Adapter
public Decoder.Adapter()
- Constructs an adapter.
init
public void init(EndpointConfig config)
- This method does nothing and may be overridden.
- Specified by:
init in interface Decoder
- 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 Decoder
Copyright © 2012-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : users@websocket-spec.java.net