Class JsonMessageFactory

    • Method Detail

      • toResponse

        public static Response toResponse​(java.lang.String responseMessageString)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toRequest

        public static Request toRequest​(java.lang.String responseMessageString)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toMessage

        public static Message toMessage​(java.lang.String messageStr)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toJson

        public static java.lang.String toJson​(Message response)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception