Class IOStreamUtils


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

      • IOStreamUtils

        public IOStreamUtils()
    • Method Detail

      • readInputStreamToString

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

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

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

        public static ByteBuffer createBasicByteBuffer​(String input)