Class PostProcess
java.lang.Object
com.tremolosecurity.proxy.ProcessAfterFilterChain
com.tremolosecurity.proxy.filter.PostProcess
- Direct Known Subclasses:
EmbPostProc
,PushRequestProcess
,UriRequestProcess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
org.apache.http.impl.client.CloseableHttpClient
abstract void
postProcess
(HttpFilterRequest req, HttpFilterResponse resp, UrlHolder holder, HttpFilterChain httpFilterChain) protected void
postProcess
(HttpFilterRequest req, HttpFilterResponse resp, UrlHolder holder, org.apache.http.HttpResponse response, String finalURL, HttpFilterChain curChain, org.apache.http.client.methods.HttpRequestBase httpRequest) protected void
setHeadersCookies
(HttpFilterRequest req, UrlHolder holder, org.apache.http.client.methods.HttpRequestBase method, String finalURL)
-
Constructor Details
-
PostProcess
public PostProcess()
-
-
Method Details
-
postProcess
public abstract void postProcess(HttpFilterRequest req, HttpFilterResponse resp, UrlHolder holder, HttpFilterChain httpFilterChain) throws Exception - Specified by:
postProcess
in classProcessAfterFilterChain
- Throws:
Exception
-
addHeader
-
postProcess
protected void postProcess(HttpFilterRequest req, HttpFilterResponse resp, UrlHolder holder, org.apache.http.HttpResponse response, String finalURL, HttpFilterChain curChain, org.apache.http.client.methods.HttpRequestBase httpRequest) throws IOException, Exception - Throws:
IOException
Exception
-
setHeadersCookies
protected void setHeadersCookies(HttpFilterRequest req, UrlHolder holder, org.apache.http.client.methods.HttpRequestBase method, String finalURL) throws Exception - Throws:
Exception
-
getHttp
-