summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java')
-rw-r--r--src/main/java/at/gv/util/cxf/interceptors/RawMessageInterceptor.java47
1 files changed, 47 insertions, 0 deletions
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<Message> {
+//
+// 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 {
+// }
+// }
+//}