public abstract class MimetypeAwareRequestParameters extends MultiValueRequestParameters
ContentType.TEXT_XML
(:= text/xml; charset=ISO-8859-1
).Modifier and Type | Field and Description |
---|---|
static String |
CHARSET |
static String |
MIME_TYPE |
SERVICE_TYPE, SERVICE_VERSION
Constructor and Description |
---|
MimetypeAwareRequestParameters() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Checks if the assembly is empty at all.
|
boolean |
isSetMimetype() |
boolean |
isValid() |
void |
setCharset(Charset charset) |
void |
setType(String mimetype) |
addNonEmpty, addNonEmpty, addParameterEnumValues, addParameterStringValues, addParameterValue, addParameterValues, contains, getAllValues, getParameterNames, getSingleValue, hasMultipleValues, isEmpty, isEmptyString, isEmptyValue, isSingleValue, mergeWith, remove, removeAll
public static final String MIME_TYPE
public static final String CHARSET
public void setType(String mimetype)
public void setCharset(Charset charset)
public boolean isEmpty()
RequestParameters
isEmpty
in interface RequestParameters
isEmpty
in class MultiValueRequestParameters
true
if there are no key-value pairs available,false
if the assembly contains at least one key-value pair.public boolean isValid()
public boolean isSetMimetype()
Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.