Class InterceptorUtils
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.ws.InterceptorUtils
-
public abstract class InterceptorUtils extends Object
Helper methods for handling user-defined custom interceptors.- Author:
- Dmytro Rud
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyInterceptorsFromProvider(InterceptorProvider source, InterceptorProvider target)
static <T> T
findContextualProperty(Message message, String propertyName)
Searches for a property in all available contexts associated with the given SOAP message.
-
-
-
Method Detail
-
copyInterceptorsFromProvider
public static void copyInterceptorsFromProvider(InterceptorProvider source, InterceptorProvider target)
-
findContextualProperty
public static <T> T findContextualProperty(Message message, String propertyName)
Searches for a property in all available contexts associated with the given SOAP message.- Type Parameters:
T
- type of the property.- Parameters:
message
- CXF message.propertyName
- name of the property.- Returns:
- property value, or
null
when not found.
-
-