From e14ef2cb47f5e771171c4c9265c2c336f071cbfa Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 5 Aug 2015 14:38:58 +0200 Subject: some updates --- .../cxf/interceptors/RawMessageInterceptor.java | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java (limited to 'src/main/java/at') diff --git a/src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java b/src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java new file mode 100644 index 0000000..70852b0 --- /dev/null +++ b/src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java @@ -0,0 +1,47 @@ +//package at.gv.util.cxf.interceptors; +// +//import java.io.IOException; +// +//import org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor; +//import org.apache.cxf.io.CachedOutputStream; +//import org.apache.cxf.message.Message; +//import org.apache.cxf.phase.AbstractPhaseInterceptor; +//import org.apache.cxf.phase.Phase; +//import org.apache.log4j.Logger; +// +//public abstract class RawMessageInterceptor extends AbstractPhaseInterceptor { +// +// public RawMessageInterceptor() { +// super(Phase.PRE_STREAM); +// addBefore(SoapPreProtocolOutInterceptor.class.getName()); +// } +// +// protected abstract Logger getLogger(); +// +// protected abstract String changeOutboundMessage(String currentEnvelope); +// +// protected abstract String changeInboundMessage(String currentEnvelope); +// +// public void handleMessage(Message message) { +// +// } +// +// public void handleFault(Message message) { +// } +// +// private class CachedStream extends CachedOutputStream { +// public CachedStream() { +// super(); +// } +// +// protected void doFlush() throws IOException { +// currentStream.flush(); +// } +// +// protected void doClose() throws IOException { +// } +// +// protected void onWrite() throws IOException { +// } +// } +//} -- cgit v1.2.3