org.atmosphere.core
Class AtmosphereFilter

java.lang.Object
  extended by org.atmosphere.core.AtmosphereFilter
All Implemented Interfaces:
com.sun.jersey.spi.container.ResourceFilterFactory

public class AtmosphereFilter
extends Object
implements com.sun.jersey.spi.container.ResourceFilterFactory

ResourceFilterFactory which intercept the response and appropriately set the AtmosphereEvent filed based on the annotation the application has defined.

Author:
Jeanfrancois Arcand

Field Summary
static String ATMOSPHERE_EVENT
           
 
Constructor Summary
AtmosphereFilter()
           
 
Method Summary
 List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod am)
          Create a ResourceFilter which contains the information about the annotation being processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATMOSPHERE_EVENT

public static final String ATMOSPHERE_EVENT
See Also:
Constant Field Values
Constructor Detail

AtmosphereFilter

public AtmosphereFilter()
Method Detail

create

public List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod am)
Create a ResourceFilter which contains the information about the annotation being processed.

Specified by:
create in interface com.sun.jersey.spi.container.ResourceFilterFactory
Parameters:
am - an AbstractMethod
Returns:
a List of ResourceFilter to invoke.


Copyright © 2009 SUN Microsystems. All Rights Reserved.