Skip to content

Migrating your application from 0.9.5 to 1.0.0

jfarcand edited this page Jun 1, 2012 · 1 revision

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);

Step by Step Tutorials

Concepts & Architecture

15 Minutes Tutorial

Advanced Topics

API

Known WebServer Issues

References

External Documentations

githalytics.com alpha

Clone this wiki locally