Class HttpFilterChainImpl
java.lang.Object
com.tremolosecurity.proxy.filter.HttpFilterChainImpl
- All Implemented Interfaces:
HttpFilterChain
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.HttpEntity
org.apache.http.client.methods.HttpRequestBase
getIns()
boolean
isLogout()
boolean
boolean
isText()
void
nextFilter
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain) void
nextFilterResponseBinary
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, byte[] data, int length) void
nextFilterResponseText
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, StringBuffer data) void
reload()
void
setEntity
(org.apache.http.HttpEntity entity) void
setHttpRequestBase
(org.apache.http.client.methods.HttpRequestBase httpRequest) void
setIns
(InputStream ins) void
setLogout
(boolean logout) void
setNoProxy
(boolean b) void
setText
(boolean isText)
-
Constructor Details
-
HttpFilterChainImpl
-
-
Method Details
-
isLogout
public boolean isLogout()- Specified by:
isLogout
in interfaceHttpFilterChain
-
setLogout
public void setLogout(boolean logout) - Specified by:
setLogout
in interfaceHttpFilterChain
-
nextFilter
public void nextFilter(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain) throws Exception - Specified by:
nextFilter
in interfaceHttpFilterChain
- Throws:
Exception
-
nextFilterResponseText
public void nextFilterResponseText(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, StringBuffer data) throws Exception - Specified by:
nextFilterResponseText
in interfaceHttpFilterChain
- Throws:
Exception
-
nextFilterResponseBinary
public void nextFilterResponseBinary(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, byte[] data, int length) throws Exception - Specified by:
nextFilterResponseBinary
in interfaceHttpFilterChain
- Throws:
Exception
-
reload
public void reload()- Specified by:
reload
in interfaceHttpFilterChain
-
getIns
- Specified by:
getIns
in interfaceHttpFilterChain
-
setIns
- Specified by:
setIns
in interfaceHttpFilterChain
-
isText
public boolean isText()- Specified by:
isText
in interfaceHttpFilterChain
-
setText
public void setText(boolean isText) - Specified by:
setText
in interfaceHttpFilterChain
-
getEntity
public org.apache.http.HttpEntity getEntity()- Specified by:
getEntity
in interfaceHttpFilterChain
-
setEntity
public void setEntity(org.apache.http.HttpEntity entity) - Specified by:
setEntity
in interfaceHttpFilterChain
-
setNoProxy
public void setNoProxy(boolean b) - Specified by:
setNoProxy
in interfaceHttpFilterChain
-
isNoProxy
public boolean isNoProxy()- Specified by:
isNoProxy
in interfaceHttpFilterChain
-
setHttpRequestBase
public void setHttpRequestBase(org.apache.http.client.methods.HttpRequestBase httpRequest) - Specified by:
setHttpRequestBase
in interfaceHttpFilterChain
-
getHttpRequestBase
public org.apache.http.client.methods.HttpRequestBase getHttpRequestBase()- Specified by:
getHttpRequestBase
in interfaceHttpFilterChain
-