org.apache.cxf.binding.soap.tcp
Class SoapTcpUtils

java.lang.Object
  extended by org.apache.cxf.binding.soap.tcp.SoapTcpUtils

public final class SoapTcpUtils
extends Object


Method Summary
static boolean checkSingleFrameResponse(SoapTcpFrame responseFrame, String elementName)
          Method that parse SoapTcpFrame payload to find important tag.
static void printSoapTcpFrame(OutputStream out, SoapTcpFrame frame)
          Method that print SoapTcpFrame
static SoapTcpFrame readMessageFrame(InputStream inputStream)
          Method that reads single SoapTcpFrame
static void writeMessageFrame(OutputStream out, SoapTcpFrame frame)
          Method that writes single SoapTcpFrame
static void writeSoapTcpMessage(OutputStream out, SoapTcpMessage msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeSoapTcpMessage

public static void writeSoapTcpMessage(OutputStream out,
                                       SoapTcpMessage msg)
                                throws IOException
Throws:
IOException

writeMessageFrame

public static void writeMessageFrame(OutputStream out,
                                     SoapTcpFrame frame)
                              throws IOException
Method that writes single SoapTcpFrame

Parameters:
out -
frame -
Throws:
IOException

readMessageFrame

public static SoapTcpFrame readMessageFrame(InputStream inputStream)
                                     throws IOException
Method that reads single SoapTcpFrame

Parameters:
inputStream -
Returns:
Throws:
IOException

checkSingleFrameResponse

public static boolean checkSingleFrameResponse(SoapTcpFrame responseFrame,
                                               String elementName)
Method that parse SoapTcpFrame payload to find important tag.

Parameters:
responseFrame - frame that will be examinated
elementName - a tag to look for
Returns:
true If payload contains that tag then method return true otherwise return false;

printSoapTcpFrame

public static void printSoapTcpFrame(OutputStream out,
                                     SoapTcpFrame frame)
Method that print SoapTcpFrame

Parameters:
out -
frame -


Apache CXF