mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
25 lines
706 B
Java
25 lines
706 B
Java
package tech.powerjob.common;
|
|
|
|
/**
|
|
* Common constants.
|
|
*
|
|
* @author tjq
|
|
* @since 2020/5/31
|
|
*/
|
|
public class OmsConstant {
|
|
|
|
public static final int SERVER_DEFAULT_AKKA_PORT = 10086;
|
|
public static final int SERVER_DEFAULT_HTTP_PORT = 10010;
|
|
|
|
public static final String TIME_PATTERN = "yyyy-MM-dd HH:mm:ss";
|
|
public static final String TIME_PATTERN_PLUS = "yyyy-MM-dd HH:mm:ss.SSS";
|
|
|
|
public static final String NONE = "N/A";
|
|
|
|
public static final String COMMA = ",";
|
|
public static final String LINE_SEPARATOR = "\r\n";
|
|
|
|
public static final String HTTP_HEADER_CONTENT_TYPE = "Content-Type";
|
|
public static final String JSON_MEDIA_TYPE = "application/json; charset=utf-8";
|
|
}
|