public interface StompInterceptor
extends org.atmosphere.cpr.AtmosphereInterceptor
A StompInterceptor is an extension of AtmosphereInterceptor to inspect an AtmosphereResource
that contains in its request body a Frame.
This interface adapts all the operations sent to atmosphere using the STOMP protocol. The purpose is to map existing Atmosphere features to the actions that could be performed with several STOMP frames.
Any method of this interface should be invoked when a frame has been validated. Consequently, implementation could assert that all mandatory headers will be specified in parameter when declared in method signature.
| Modifier and Type | Method and Description |
|---|---|
org.atmosphere.cpr.Action |
inspect(org.atmosphere.cpr.AtmosphereFramework framework,
Frame frame,
FrameInterceptor.StompAtmosphereResource r)
Inspects the
AtmosphereResource with its extracted Frame. |
org.atmosphere.cpr.Action inspect(org.atmosphere.cpr.AtmosphereFramework framework,
Frame frame,
FrameInterceptor.StompAtmosphereResource r)
throws IOException
Inspects the AtmosphereResource with its extracted Frame.
framework - the frameworkframe - the framer - the resourceIOException - if inspection failsCopyright © 2015. All Rights Reserved.