Migrating your application from 0.9.5 to 1.0.0 - Atmosphere/atmosphere GitHub Wiki

MeteorService

The annotation now requires the path attribute:

   @MeteorService(path="/")

AtmosphereInterceptor

A new postInvoke method has been added and defined as

public interface AtmosphereInterceptor {

    /**
     * Allow this object to configure it's state when initialized
     *
     * @param config an {@link AtmosphereConfig}
     */
    void configure(AtmosphereConfig config);

    /**
     * Invoked before an {@link AtmosphereResource} gets dispatched to {@link AtmosphereHandler}
     *
     * @param r a {@link AtmosphereResource}
     * @return {@link Action#CONTINUE} or  {@link Action#SUSPEND}
     *         to dispatch the {@link AtmosphereResource} to other {@link AtmosphereInterceptor} or {@link AtmosphereHandler}.
     *         Return {@link Action.TYPE#CANCELLED} to stop the processing.
     */
    Action inspect(AtmosphereResource r);

    /**
     * Invoked after an {@link AtmosphereResource} gets dispatched to {@link AtmosphereHandler}
     *
     * @param r a {@link AtmosphereResource}
     */
    void postInspect(AtmosphereResource r);