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 voidcopyInterceptorsFromProvider(org.apache.cxf.interceptor.InterceptorProvider source, org.apache.cxf.interceptor.InterceptorProvider target)static <T> TfindContextualProperty(org.apache.cxf.message.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(org.apache.cxf.interceptor.InterceptorProvider source, org.apache.cxf.interceptor.InterceptorProvider target)
-
findContextualProperty
public static <T> T findContextualProperty(org.apache.cxf.message.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
nullwhen not found.
-
-