Class HttpConstants


  • public final class HttpConstants
    extends java.lang.Object
    constants for http, including http long polling.
    Since:
    2.0.0
    • Field Detail

      • CLIENT_POLLING_READ_TIMEOUT

        public static final long CLIENT_POLLING_READ_TIMEOUT
        Client long polling timeout is 90s.
      • SERVER_MAX_HOLD_TIMEOUT

        public static final long SERVER_MAX_HOLD_TIMEOUT
        The maximum timeout of server block is 60s.
      • CLIENT_POLLING_CONNECT_TIMEOUT

        public static final long CLIENT_POLLING_CONNECT_TIMEOUT
        Default connection timeout is 10s.
      • CLIENT_POLLING_WRITE_TIMEOUT

        public static final long CLIENT_POLLING_WRITE_TIMEOUT
        Default write timeout is 90s.
    • Constructor Detail

      • HttpConstants

        public HttpConstants()