public class GenericReverseProxyServlet
extends javax.servlet.http.HttpServlet
ReverseProxyService injected.| Constructor and Description |
|---|
GenericReverseProxyServlet()
Zero-constructor default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ReverseProxyService |
getProxyService()
Returns the internal
ReverseProxyService instance. |
protected boolean |
isAllowedHttpMethod(javax.servlet.http.HttpServletRequest request)
Returns true if the HTTP method used by
request is allowed by this. |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invokes the internal
ReverseProxyService on allowed HTTP requests. |
void |
setProxyService(ReverseProxyService proxyService)
Sets the internal
ReverseProxyService instance. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic GenericReverseProxyServlet()
public ReverseProxyService getProxyService()
ReverseProxyService instance.public void setProxyService(ReverseProxyService proxyService)
ReverseProxyService instance.proxyService - protected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
ReverseProxyService on allowed HTTP requests.service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected boolean isAllowedHttpMethod(javax.servlet.http.HttpServletRequest request)
request is allowed by this.
Otherwise returns false.request - Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.