Class HttpUtils


  • public class HttpUtils
    extends java.lang.Object
    • Constructor Detail

      • HttpUtils

        public HttpUtils()
    • Method Detail

      • checkForError

        public static java.lang.Exception checkForError​(int code)
      • getObjectMapper

        public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • urlEncode

        public static java.lang.String urlEncode​(java.lang.String value)
      • readContent

        public static java.lang.String readContent​(java.net.HttpURLConnection conn)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseInfoFromWire

        public static PersistentSubscriptionInfo parseInfoFromWire​(com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.SubscriptionInfo wire)