Package io.hawt.web.kubernetes
Class PodServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- io.hawt.web.proxy.ProxyServlet
-
- io.hawt.web.kubernetes.PodServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class PodServlet extends ProxyServlet
Proxies /pod/name/port/* to the pod IP/port for 'name' using the Kubernetes service lookup and then passes the rest of the URI to the underlying service.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.hawt.web.proxy.ProxyServlet
acceptSelfSignedCerts, allowlist, asciiQueryChars, DISABLE_PROXY, doForwardIP, doLog, enabled, HAWTIO_DISABLE_PROXY, HAWTIO_LOCAL_ADDRESS_PROBING, HAWTIO_PROXY_ALLOWLIST, hopByHopHeaders, LOCAL_ADDRESS_PROBING, P_FORWARDEDFOR, P_LOG, PROXY_ALLOWLIST, proxyClient
-
-
Constructor Summary
Constructors Constructor Description PodServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProxyAddressparseProxyAddress(javax.servlet.http.HttpServletRequest servletRequest)-
Methods inherited from class io.hawt.web.proxy.ProxyServlet
copyRequestHeaders, copyResponseEntity, copyResponseHeaders, destroy, doResponseRedirectOrNotModifiedLogic, encodeUriQuery, getServletInfo, init, rewriteUrlFromResponse, service
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
parseProxyAddress
protected ProxyAddress parseProxyAddress(javax.servlet.http.HttpServletRequest servletRequest)
- Overrides:
parseProxyAddressin classProxyServlet
-
-