Class AdminRESTInterceptor
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.rest.RESTInterceptor
com.predic8.membrane.core.interceptor.administration.AdminRESTInterceptor
- All Implemented Interfaces:
Interceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBeautifiedBody(QueryParameter params, String relativeRootPath) static StringgetClientAddr(boolean useXForwardedForAsClientAddr, AbstractExchange exc) getClients(QueryParameter params, String relativeRootPath) getExchange(QueryParameter params, String relativeRootPath) getExchanges(QueryParameter params, String relativeRootPath) getProxies(QueryParameter params, String relativeRootPath) getRaw(QueryParameter params, String relativeRootPath) getRequestBody(QueryParameter params, String relativeRootPath) getRequestHeader(QueryParameter params, String relativeRootPath) booleanvoidsetUseXForwardedForAsClientAddr(boolean useXForwardedForAsClientAddr) Methods inherited from class com.predic8.membrane.core.interceptor.rest.RESTInterceptor
getRelativeRootPath, handleRequest, isReadOnly, json, setReadOnlyMethods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, getShortDescription, handleAbort, handleResponse, init, init, setDisplayName, setFlow
-
Constructor Details
-
AdminRESTInterceptor
public AdminRESTInterceptor()
-
-
Method Details
-
getClients
- Throws:
Exception
-
getProxies
- Throws:
Exception
-
getRaw
-
getBeautifiedBody
- Throws:
Exception
-
getRequestBody
- Throws:
Exception
-
getRequestHeader
- Throws:
Exception
-
getExchange
- Throws:
Exception
-
getExchanges
- Throws:
Exception
-
getClientAddr
-
isUseXForwardedForAsClientAddr
public boolean isUseXForwardedForAsClientAddr() -
setUseXForwardedForAsClientAddr
public void setUseXForwardedForAsClientAddr(boolean useXForwardedForAsClientAddr)
-