Class HttpConstants
- java.lang.Object
-
- org.apache.shenyu.common.constant.HttpConstants
-
public final class HttpConstants extends java.lang.Objectconstants for http, including http long polling.- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static longCLIENT_POLLING_CONNECT_TIMEOUTDefault connection timeout is 10s.static longCLIENT_POLLING_READ_TIMEOUTClient long polling timeout is 90s.static longCLIENT_POLLING_WRITE_TIMEOUTDefault write timeout is 90s.static longSERVER_MAX_HOLD_TIMEOUTThe maximum timeout of server block is 60s.
-
Constructor Summary
Constructors Constructor Description HttpConstants()
-
-
-
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.
-
-