public interface Encoder<U,T>
Message
or a ManagedService
annotated class. The encoded object will be written back to the client. For example
public final static class StringBufferEncoder implements Encoder>StringBuffer, String< {
Modifier and Type | Method and Description |
---|---|
T |
encode(U s)
Encode the object of type U into an object of type T.
|
Copyright © 2016. All rights reserved.