Package com.google.greaze.server.internal.utils

Examples of com.google.greaze.server.internal.utils.WebContextExtractor.extract()


  @SuppressWarnings("rawtypes")
  @RequestScoped
  @Provides
  public WebContext getWebContext(RestRequestBase request, RestCallSpec spec) {
    WebContextExtractor extractor = new WebContextExtractor(spec.getWebContextSpec());
    return extractor.extract(request.getHeaders());
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.