Class IOStreamUtils


  • public class IOStreamUtils
    extends Object
    Author:
    jamesdbloom
    • Constructor Detail

    • Method Detail

      • readInputStreamToString

        public String readInputStreamToString​(javax.servlet.ServletRequest request)
      • readInputStreamToByteArray

        public byte[] readInputStreamToByteArray​(javax.servlet.ServletRequest request)
      • writeToOutputStream

        public void writeToOutputStream​(byte[] data,
                                        javax.servlet.ServletResponse response)
      • createBasicByteBuffer

        public static ByteBuffer createBasicByteBuffer​(String input)