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 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 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
null
when not found.
-