Package | Description |
---|---|
lucee.commons.lang.mimetype | |
lucee.commons.net | |
lucee.runtime.net.http | |
lucee.runtime.rest |
Modifier and Type | Field and Description |
---|---|
static MimeType |
MimeType.ALL |
static MimeType |
MimeType.APPLICATION_CFML |
static MimeType |
MimeType.APPLICATION_JAVA |
static MimeType |
MimeType.APPLICATION_JSON |
static MimeType |
MimeType.APPLICATION_PLAIN |
static MimeType |
MimeType.APPLICATION_WDDX |
static MimeType |
MimeType.APPLICATION_XML |
static MimeType |
MimeType.IMAGE_ASTERIX |
static MimeType |
MimeType.IMAGE_BMP |
static MimeType |
MimeType.IMAGE_FBX |
static MimeType |
MimeType.IMAGE_GIF |
static MimeType |
MimeType.IMAGE_ICO |
static MimeType |
MimeType.IMAGE_JPG |
static MimeType |
MimeType.IMAGE_PBM |
static MimeType |
MimeType.IMAGE_PGM |
static MimeType |
MimeType.IMAGE_PNG |
static MimeType |
MimeType.IMAGE_PNM |
static MimeType |
MimeType.IMAGE_PSD |
static MimeType |
MimeType.IMAGE_TIFF |
static MimeType |
MimeType.IMAGE_WBMP |
static MimeType |
MimeType.TEXT_HTML |
Modifier and Type | Method and Description |
---|---|
MimeType |
MimeType.bestMatch(MimeType[] others) |
static MimeType |
MimeType.getInstance(String strMimeType)
returns a mimetype that match given string
|
static MimeType[] |
MimeType.getInstances(String strMimeTypes,
char delimiter) |
static MimeType |
MimeType.toMimetype(int format,
MimeType defaultValue) |
Modifier and Type | Method and Description |
---|---|
MimeType |
MimeType.bestMatch(MimeType[] others) |
boolean |
MimeType.match(MimeType other)
checks if given mimetype is covered by current mimetype
|
boolean |
MimeType.same(MimeType other)
checks if other is from the same type, just type and subtype are checked, properties (q,mxb,mxt) are ignored.
|
static int |
MimeType.toFormat(MimeType mt,
int defaultValue) |
static MimeType |
MimeType.toMimetype(int format,
MimeType defaultValue) |
Modifier and Type | Method and Description |
---|---|
static int |
MimeType.toFormat(List<MimeType> mimeTypes,
int ignore,
int defaultValue) |
Modifier and Type | Method and Description |
---|---|
static boolean |
HTTPUtil.isTextMimeType(MimeType mimetype) |
Modifier and Type | Method and Description |
---|---|
static MimeType |
ReqRspUtil.getContentType(PageContext pc) |
Modifier and Type | Method and Description |
---|---|
static LinkedList<MimeType> |
ReqRspUtil.getAccept(PageContext pc) |
Modifier and Type | Method and Description |
---|---|
MimeType[] |
Result.getAccept() |
MimeType |
Result.getContentType() |
Modifier and Type | Method and Description |
---|---|
Result |
Mapping.getResult(PageContext pc,
String path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType,
Result defaultValue) |
Modifier and Type | Method and Description |
---|---|
Result |
Mapping.getResult(PageContext pc,
String path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType,
Result defaultValue) |
Constructor and Description |
---|
RestRequestListener(Mapping mapping,
String path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType,
Result defaultValue) |
Result(Source source,
Struct variables,
String[] path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType) |
Constructor and Description |
---|
RestRequestListener(Mapping mapping,
String path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType,
Result defaultValue) |
Result(Source source,
Struct variables,
String[] path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType) |
Copyright © 2015 Lucee