Class 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 Detail

      • 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 Detail

      • handleMessage

        public void handleMessage​(Message message)