Class StreamParameter

  • All Implemented Interfaces:
    java.lang.Cloneable, ParameterHolder

    public class StreamParameter
    extends java.lang.Object
    implements java.lang.Cloneable, ParameterHolder
    • Field Detail

      • is

        private final java.io.InputStream is
      • length

        private final long length
      • noBackslashEscapes

        private final boolean noBackslashEscapes
    • Constructor Detail

      • StreamParameter

        public StreamParameter​(java.io.InputStream is,
                               long length,
                               boolean noBackslashEscapes)
        Constructor.
        Parameters:
        is - stream to write
        length - max length to write (if null the whole stream will be send)
        noBackslashEscapes - must backslash be escape
      • StreamParameter

        public StreamParameter​(java.io.InputStream is,
                               boolean noBackSlashEscapes)