Package org.eclipse.jetty.ee10.proxy
Class AsyncProxyServlet.Transparent
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.eclipse.jetty.ee10.proxy.AbstractProxyServlet
org.eclipse.jetty.ee10.proxy.ProxyServlet
org.eclipse.jetty.ee10.proxy.AsyncProxyServlet
org.eclipse.jetty.ee10.proxy.AsyncProxyServlet.Transparent
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- Direct Known Subclasses:
FastCGIProxyServlet
- Enclosing class:
- AsyncProxyServlet
Convenience extension of AsyncProxyServlet
that offers transparent proxy functionalities.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.ee10.proxy.AsyncProxyServlet
AsyncProxyServlet.StreamReader, AsyncProxyServlet.StreamWriter, AsyncProxyServlet.Transparent
Nested classes/interfaces inherited from class org.eclipse.jetty.ee10.proxy.ProxyServlet
ProxyServlet.ProxyInputStreamRequestContent, ProxyServlet.ProxyResponseListener
Nested classes/interfaces inherited from class org.eclipse.jetty.ee10.proxy.AbstractProxyServlet
AbstractProxyServlet.TransparentDelegate
-
Field Summary
Fields inherited from class org.eclipse.jetty.ee10.proxy.AbstractProxyServlet
_log, CLIENT_REQUEST_ATTRIBUTE, HOP_HEADERS
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(jakarta.servlet.ServletConfig config) protected String
rewriteTarget
(jakarta.servlet.http.HttpServletRequest clientRequest) Methods inherited from class org.eclipse.jetty.ee10.proxy.AsyncProxyServlet
newReadListener, newWriteListener, onResponseContent, proxyRequestContent
Methods inherited from class org.eclipse.jetty.ee10.proxy.ProxyServlet
newProxyResponseListener, onContinue, service
Methods inherited from class org.eclipse.jetty.ee10.proxy.AbstractProxyServlet
addProxyHeaders, addViaHeader, addViaHeader, addXForwardedHeaders, clientRequestStatus, copyRequestHeaders, createHttpClient, createLogger, destroy, expects100Continue, filterServerResponseHeader, findConnectionHeaders, getBlackListHosts, getHostHeader, getHttpClient, getRequestId, getTimeout, getViaHost, getWhiteListHosts, hasContent, init, newClientConnector, newHttpClient, newHttpClient, newProxyRequest, onClientRequestFailure, onProxyResponseFailure, onProxyResponseSuccess, onProxyRewriteFailed, onServerResponseHeaders, proxyResponseStatus, sendProxyRequest, sendProxyResponseError, setTimeout, validateDestination
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
Transparent
public Transparent()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Servlet
- Overrides:
init
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
-
rewriteTarget
- Overrides:
rewriteTarget
in classAbstractProxyServlet
-