Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve] Replacing characters with http constants #2500

Merged
merged 11 commits into from
Aug 12, 2024
Prev Previous commit
Next Next commit
fix
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
  • Loading branch information
yuluo-yx committed Aug 11, 2024
commit b19f891c64a67bcbf29aea49e40b49b29379c42c
Original file line number Diff line number Diff line change
@@ -17,10 +17,14 @@

package org.apache.hertzbeat.collector.constants;

import org.apache.hertzbeat.common.constants.NetworkConstants;

/**
* collector module constant.
* Extends {@link NetworkConstants}
*/
public interface CollectorConstants {

public interface CollectorConstants extends NetworkConstants {

String KEYWORD = "keyword";

@@ -38,28 +42,11 @@ public interface CollectorConstants {

String ZOOKEEPER_ENVI_HEAD = "Environment:";

String KEEP_ALIVE = "Keep-Alive";

String USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; WOW64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36\")";

String IPV6 = "ipv6";

String IPV4 = "ipv4";

String ERROR_MSG = "errorMsg";

String URL = "url";

String HTTP_HEADER = "http://";

String HTTPS_HEADER = "https://";

String RESPONSE_TIME = "responseTime";

String STATUS_CODE = "StatusCode";

String X_AUTH_TOKEN = "X-Auth-Token";

String LOCATION = "Location";

}
Loading