Package com.gentics.cr.util

Examples of com.gentics.cr.util.RequestBeanWrapper


   * @param response - servlet responce to write back to
   * @throws IOException in case the container cannot process the request successfully
   */
  public void doService(HttpServletRequest request, HttpServletResponse response) throws IOException {
    HashMap<String, Resolvable> objects = new HashMap<String, Resolvable>();
    objects.put("request", new RequestBeanWrapper(request));
    objects.put("session", new HttpSessionWrapper(request.getSession()));
    CRRequestBuilder rB = new CRRequestBuilder(request, crConf);
    //response.setContentType(rB.getContentRepository(this.crConf.getEncoding()).getContentType()+"; charset="+this.crConf.getEncoding());
    container.processService(rB, objects, response.getOutputStream(), new ServletResponseTypeSetter(response));
  }
View Full Code Here

TOP

Related Classes of com.gentics.cr.util.RequestBeanWrapper

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.