summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/cxf
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2015-08-05 14:38:58 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2015-08-05 14:38:58 +0200
commite14ef2cb47f5e771171c4c9265c2c336f071cbfa (patch)
tree0028b2f4b69872b77d2e920707665f293b16b6a1 /src/main/java/at/gv/util/cxf
parent6228b7ac31e7fa28a26e416dd2f65e5b9274f613 (diff)
downloadegovutils-e14ef2cb47f5e771171c4c9265c2c336f071cbfa.tar.gz
egovutils-e14ef2cb47f5e771171c4c9265c2c336f071cbfa.tar.bz2
egovutils-e14ef2cb47f5e771171c4c9265c2c336f071cbfa.zip
some updates
Diffstat (limited to 'src/main/java/at/gv/util/cxf')
-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 {
+// }
+// }
+//}