Package com.google.greaze.rest.server

Examples of com.google.greaze.rest.server.RestRequestBaseReceiver.receive()


  @Provides
  public RestRequestBase getRestRequest(GsonBuilder gsonBuilder, RestCallSpec callSpec,
      CallPath callPath, HttpServletRequest request, ResourceIdFactory<Id<?>> idFactory) {
      RestRequestBaseReceiver requestReceiver =
          new RestRequestBaseReceiver(gsonBuilder, callSpec.getRequestSpec());
      return requestReceiver.receive(request, idFactory.createId(callPath.getResourceId()));
  }

  @SuppressWarnings("rawtypes")
  @RequestScoped
  @Provides
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.