Class OutStreamSubstituteInterceptor

    • Constructor Detail

      • OutStreamSubstituteInterceptor

        public OutStreamSubstituteInterceptor()
    • Method Detail

      • handleMessage

        public void handleMessage​(Message message)
      • getStreamWrapper

        public static WrappedOutputStream getStreamWrapper​(Message message)
        Retrieves the instance of stream wrapper installed by this interceptor.
        Parameters:
        message - CXF message which contains output stream as one of content types.
        Returns:
        an instance of WrappedOutputStream.
        Throws:
        IllegalStateException - when the stream wrapper instance could not be retrieved.