Class InPayloadInjectorInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.openehealth.ipf.commons.ihe.ws.cxf.payload.InPayloadInjectorInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class InPayloadInjectorInterceptor extends AbstractPhaseInterceptor<Message>
CXF interceptor which inserts data of String content type (it is supposed to be the XML payload of the incoming message) into the list of an operation's parameters or response values.
Author:
Dmytro Rud
  • Constructor Details

    • InPayloadInjectorInterceptor

      public InPayloadInjectorInterceptor(int position)
      Constructs an interceptor instance.
      Parameters:
      position - position in the parameter list at which the collected message payload should be inserted.
  • Method Details

    • handleMessage

      public void handleMessage(Message message)