Package org.atmosphere.config.managed
Interface Decoder<U,T>
- Type Parameters:
U-T-
public interface Decoder<U,T>
Decode a message in order to invoke a class annotated with
ManagedService with a method
annotated with Message. For example:
public final class StringBufferDecoder implements Decoderinvalid input: '<'String, StringBuffer> {
- Author:
- Jeanfrancois Arcand
-
Method Summary
-
Method Details
-
decode
Decode the specified object of type U into object of type T- Parameters:
s- a object of type U- Returns:
- a new object of type T
-