Class InterceptorUtils
java.lang.Object
org.openehealth.ipf.commons.ihe.ws.InterceptorUtils
Helper methods for handling user-defined custom interceptors.
- Author:
- Dmytro Rud
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyInterceptorsFromProvider(InterceptorProvider source, InterceptorProvider target) static <T> TfindContextualProperty(Message message, String propertyName) Searches for a property in all available contexts associated with the given SOAP message.
-
Method Details
-
copyInterceptorsFromProvider
public static void copyInterceptorsFromProvider(InterceptorProvider source, InterceptorProvider target) -
findContextualProperty
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.
-