Class ContentType
- java.lang.Object
-
- org.jobrunr.dashboard.server.http.ContentType
-
public class ContentType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_HEADER_NAME
static java.lang.String
APPLICATION_JSON
static java.lang.String
APPLICATION_OCTET_STREAM
static java.lang.String
IMAGE_PNG
static java.lang.String
IMAGE_X_ICON
static java.lang.String
TEXT_CSS
static java.lang.String
TEXT_HTML
static java.lang.String
TEXT_JAVASCRIPT
static java.lang.String
TEXT_PLAIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
from(java.lang.String path)
static java.lang.String
from(java.nio.file.Path path)
-
-
-
Field Detail
-
_HEADER_NAME
public static final java.lang.String _HEADER_NAME
- See Also:
- Constant Field Values
-
APPLICATION_JSON
public static final java.lang.String APPLICATION_JSON
- See Also:
- Constant Field Values
-
APPLICATION_OCTET_STREAM
public static final java.lang.String APPLICATION_OCTET_STREAM
- See Also:
- Constant Field Values
-
TEXT_HTML
public static final java.lang.String TEXT_HTML
- See Also:
- Constant Field Values
-
TEXT_PLAIN
public static final java.lang.String TEXT_PLAIN
- See Also:
- Constant Field Values
-
TEXT_JAVASCRIPT
public static final java.lang.String TEXT_JAVASCRIPT
- See Also:
- Constant Field Values
-
TEXT_CSS
public static final java.lang.String TEXT_CSS
- See Also:
- Constant Field Values
-
IMAGE_PNG
public static final java.lang.String IMAGE_PNG
- See Also:
- Constant Field Values
-
IMAGE_X_ICON
public static final java.lang.String IMAGE_X_ICON
- See Also:
- Constant Field Values
-
-