Package org.atmosphere.cpr
Class RawMessage
java.lang.Object
org.atmosphere.cpr.RawMessage
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ManagedAtmosphereHandler.Managed
A wrapper that marks a message as already-encoded ("raw"), signaling the
framework to deliver it as-is without running it through
@Message
decoders and encoders in AtmosphereHandler.onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent).
Use this when broadcasting pre-encoded content (e.g. Room protocol messages, pre-serialized JSON) that must not be re-processed by the handler's message pipeline.
- Since:
- 4.0.3
- See Also:
-
Constructor Summary
Constructors -
Method Summary