Package net.ellwein.routey.core

Examples of net.ellwein.routey.core.RouteyServlet


    LOGGER.debug( "onStartup() called" );

    final ServletRegistration servletRegistration = ctx.getServletRegistration( ROUTEY_SERVLET_NAME );
    // if servlet not registered already
    if ( servletRegistration == null ) {
      final RouteyServlet routeyServlet = ctx.createServlet( RouteyServlet.class );

      // force eager initialization to scan routes early
      routeyServlet.init();

      final Dynamic servlet = ctx.addServlet( ROUTEY_SERVLET_NAME, routeyServlet );
      servlet.addMapping( DEFAULT_MAPPING );
    }
View Full Code Here

TOP

Related Classes of net.ellwein.routey.core.RouteyServlet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.