| Modifier and Type | Method and Description |
|---|---|
protected ContentType |
OntologyController.checkForLinkedDataRequest(String url,
String acceptHeader) |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
ResponseValues.getContentType() |
ContentType |
BaseResponseValues.getContentType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ResponseValues.setContentType(ContentType contentType) |
void |
BaseResponseValues.setContentType(ContentType contentType) |
| Constructor and Description |
|---|
RdfResponseValues(ContentType contentType,
com.hp.hpl.jena.rdf.model.Model model) |
RdfResponseValues(ContentType contentType,
com.hp.hpl.jena.rdf.model.Model model,
int statusCode) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentType |
IndividualRequestAnalyzer.checkAcceptHeaderForLinkedDataRequest()
Check the accept header.
|
protected ContentType |
IndividualRequestAnalyzer.checkUrlForLinkedDataRequest() |
ContentType |
IndividualRequestInfo.getRdfFormat() |
| Modifier and Type | Method and Description |
|---|---|
static IndividualRequestInfo |
IndividualRequestInfo.buildLinkedDataInfo(Individual individual,
ContentType rdfFormat) |
| Constructor and Description |
|---|
ExtendedRdfAssembler(VitroRequest vreq,
Individual individual,
ContentType rdfFormat)
Deprecated.
|
IndividualRdfAssembler(VitroRequest vreq,
String individualUri,
ContentType rdfFormat) |
| Modifier and Type | Field and Description |
|---|---|
static ContentType |
ContentType.ANY
Wildcard content type that will match any MIME type
|
static ContentType |
ContentType.APPLICATION_XML
A ContentType constant that describes the application/xml content
type.
|
static ContentType |
ContentType.ATOM
A ContentType constant that describes the base unqualified Atom content
type.
|
static ContentType |
ContentType.ATOM_ENTRY
A ContentType constant that describes the qualified Atom entry content
type.
|
static ContentType |
ContentType.ATOM_FEED
A ContentType constant that describes the qualified Atom feed content
type.
|
static ContentType |
ContentType.ATOM_SERVICE
A ContentType constant that describes the Atom Service content type.
|
static ContentType |
ContentType.GDATA_ERROR
A ContentType constant that describes the GData error content type.
|
static ContentType |
ContentType.JAVASCRIPT
A ContentType constant that describes the Javascript content type.
|
static ContentType |
ContentType.JSON
A ContentType constant that describes the JSON content type.
|
static ContentType |
ContentType.JSON_LD
A ContentType constant that describes the JSON-LD content type.
|
static ContentType |
ContentType.MESSAGE_RFC822
A ContentType constant that indicates that the body contains an
encapsulated message, with the syntax of an RFC 822 email message.
|
static ContentType |
ContentType.MULTIPART_RELATED
A ContentType constant that describes the MIME multipart/related content
type.
|
static ContentType |
ContentType.N3
A ContetType that describes N3 RDF, this is unofficial and unregistered
Added by Brian Caruso for VIVO.
|
static ContentType |
ContentType.OPENSEARCH
A ContentType constant that describes the OpenSearch description document
|
static ContentType |
ContentType.RDFXML
A ContetType that describes RDF/XML.
|
static ContentType |
ContentType.RSS
A ContentType constant that describes the RSS channel/item content type.
|
static ContentType |
ContentType.TEXT_HTML
A ContentType constant that describes the generic text/html content type.
|
static ContentType |
ContentType.TEXT_PLAIN
A ContentType constant that describes the generic text/plain content type.
|
static ContentType |
ContentType.TEXT_XML
A ContentType constant that describes the generic text/xml content type.
|
static ContentType |
ContentType.TURTLE
A ContetType that describes turtle RDF, this is unofficial and unregistered
Added by Brian Caruso for VIVO.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
ContentType.getAtomEntry()
Returns the ContentType that should be used in contexts that expect
an Atom entry.
|
static ContentType |
ContentType.getAtomFeed()
Returns the ContentType that should be used in contexts that expect
an Atom feed.
|
static ContentType |
ContentType.getBestContentType(String acceptHeader,
List<ContentType> actualContentTypes)
Determines the best "Content-Type" header to use in a servlet response
based on the "Accept" header from a servlet request.
|
ContentType |
ContentType.lock()
Makes the object immutable and returns it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ContentType.match(ContentType acceptedContentType)
Returns whether this content type is match by the content type found in the
"Accept" header field of an HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
ContentType.getBestContentType(String acceptHeader,
List<ContentType> actualContentTypes)
Determines the best "Content-Type" header to use in a servlet response
based on the "Accept" header from a servlet request.
|
Copyright © 2016. All rights reserved.