Ejemplo n.º 1
0
 public Invocation(
     HstContainerConfig requestContainerConfig,
     HstRequestContext requestContext,
     HttpServletRequest servletRequest,
     HttpServletResponse servletResponse,
     Valve[] valves) {
   this.requestContainerConfig = requestContainerConfig;
   this.requestContext = requestContext;
   ((HstMutableRequestContext) requestContext).setServletRequest(servletRequest);
   ((HstMutableRequestContext) requestContext).setServletResponse(servletResponse);
   this.valves = valves;
 }
Ejemplo n.º 2
0
 /**
  * @deprecated deprecated since 2.26.02. Use {@link
  *     org.hippoecm.hst.core.internal.HstMutableRequestContext#setServletResponse(javax.servlet.http.HttpServletResponse)}
  *     instead
  */
 @Deprecated
 public void setHttpServletResponse(HttpServletResponse servletResponse) {
   ((HstMutableRequestContext) requestContext).setServletResponse(servletResponse);
 }