Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.web.common.ajax
Class AjaxProxyServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.nuxeo.ecm.platform.web.common.ajax.AjaxProxyServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class AjaxProxyServlet
extends HttpServlet

Simple proxy servlets.

Used for Ajax requests that needs to be proxied to avoid XSiteScripting issues.

In order to avoid "open proxiying", only urls configured in the AjaxProxyComponent via the extension point "proxyableURL" can be proxied.

Author:
tiry
See Also:
Serialized Form

Field Summary
static String X_METHOD_HEADER
           
 
Constructor Summary
AjaxProxyServlet()
           
 
Method Summary
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X_METHOD_HEADER

public static final String X_METHOD_HEADER
See Also:
Constant Field Values
Constructor Detail

AjaxProxyServlet

public AjaxProxyServlet()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.