Class RelocatingInterceptor
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.RelocatingInterceptor
- All Implemented Interfaces:
Interceptor
- Direct Known Subclasses:
WADLInterceptor,WSDLInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Relocator.PathRewriterprotected Stringprotected StringFields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()protected StringgetLocationHost(Exchange exc) protected intgetLocationPort(Exchange exc) protected StringgetPort()handleResponse(Exchange exc) voidvoidsetPathRewriter(Relocator.PathRewriter pathRewriter) voidvoidsetProtocol(String protocol) Methods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getMessage, getRouter, getRule, getShortDescription, handleAbort, handleRequest, init, init, setDisplayName, setFlow
-
Field Details
-
host
-
protocol
-
port
-
pathRewriter
-
-
Constructor Details
-
RelocatingInterceptor
public RelocatingInterceptor()
-
-
Method Details
-
handleResponse
- Specified by:
handleResponsein interfaceInterceptor- Overrides:
handleResponsein classAbstractInterceptor- Throws:
Exception
-
getLocationPort
-
getLocationHost
-
getLocationProtocol
-
getHost
-
setHost
-
getProtocol
-
setProtocol
-
getPort
-
setPort
-
getPathRewriter
-
setPathRewriter
-
getLongDescription
- Specified by:
getLongDescriptionin interfaceInterceptor- Overrides:
getLongDescriptionin classAbstractInterceptor
-