Package 

Class RequestHelper

    • Method Summary

      Modifier and Type Method Description
      static String getContentType() Get Content-Type of request
      static void addJson(OutputStream outputStream, String json) Write JSON string to output data steam
      static void addEndOfRequest(OutputStream outputStream) Write to output data stream string which ending the request
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addJson

         static void addJson(OutputStream outputStream, String json)

        Write JSON string to output data steam

        Parameters:
        outputStream - output data stream
        json - JSON string with BacktraceData object
      • addEndOfRequest

         static void addEndOfRequest(OutputStream outputStream)

        Write to output data stream string which ending the request

        Parameters:
        outputStream - output data stream