Package com.google.greaze.server

Examples of com.google.greaze.server.GreazeDispatcherServlet


  protected final FilterChain guiceFilterChain;

  protected NetworkSwitcherRest(Injector injector, ResourceUrlPaths urlPaths) {
    this.urlPaths = urlPaths;
    GreazeFilterChain filters = injector.getInstance(GreazeFilterChain.class);
    final GreazeDispatcherServlet dispatcher =
        new GreazeDispatcherServlet(injector, urlPaths.getResourcePrefix(), filters);
    this.guiceFilterChain = new FilterChain() {
      @Override
      public void doFilter(ServletRequest request, ServletResponse response) throws IOException,
          ServletException {
        dispatcher.service(request, response);
      }
    };
  }
View Full Code Here

TOP

Related Classes of com.google.greaze.server.GreazeDispatcherServlet

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.