Class OutgoingFileBasedCallback

  • All Implemented Interfaces:

    public class OutgoingFileBasedCallback
    extends AbstractOutgoingCallback
    Callback class for outgoing logging.
    FracPete (fracpete at waikato dot ac dot nz)
    • Field Detail

      • m_File

        protected File m_File
        the file to write the collected data to.
    • Constructor Detail

      • OutgoingFileBasedCallback

        public OutgoingFileBasedCallback​(File file,
                                         org.apache.cxf.message.Message msg,
                                         OutputStream os)
        Initializes the callback.
        file - the file to write the data to
        msg - the message to process
        os - the output stream
    • Method Detail

      • write

        protected void write​(org.apache.cxf.interceptor.LoggingMessage buffer)
        Outputs the buffer using its logger.
        Specified by:
        write in class AbstractOutgoingCallback
        buffer - the buffer with the collected data