Class URLNormalizerInterceptor
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.URLNormalizerInterceptor
- All Implemented Interfaces:
Interceptor
- Description
Replaces "/./" in the request URI's path by "/".
Necessary, as old SOA model versions do not normalize URIs before requesting them. Our WSDLPublisher links to XSD Schemas using relative paths (as we want the links to work under any servlet's context root). The SOA model then combines "http://foo/material/ArticleService?wsdl" and "./ArticleService?xsd=1" to "http://foo/material/./ArticleService?xsd=1". This URI is sent to Membrane's new soapProxy which has configured a serviceProxy-path of "\Q/material/ArticleService\E.*" which does not match.
- Topic
- 4. Interceptors/Features
-
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
Methods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, handleAbort, handleResponse, init, init, setDisplayName, setFlow
-
Constructor Details
-
URLNormalizerInterceptor
public URLNormalizerInterceptor()
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceInterceptor- Overrides:
getShortDescriptionin classAbstractInterceptor
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-