Package | Description |
---|---|
xdi2.client.impl.http |
An XDI client that can send XDI messages via HTTP.
|
xdi2.client.impl.websocket |
An XDI client that can send XDI messages via HTTP.
|
xdi2.core |
The XDI graph model and basic operations on it.
|
xdi2.core.impl | |
xdi2.core.io |
Classes for reading and writing XDI graphs in XDI DISPLAY, XDI/JSON, and a few other experimental formats.
|
xdi2.core.io.readers | |
xdi2.core.io.writers | |
xdi2.messaging.http | |
xdi2.transport.spring |
Modifier and Type | Method and Description |
---|---|
MimeType |
XDIHttpClient.getRecvMimeType() |
MimeType |
XDIHttpClient.getSendMimeType() |
Modifier and Type | Method and Description |
---|---|
void |
XDIHttpClient.setRecvMimeType(MimeType recvMimeFormat) |
void |
XDIHttpClient.setSendMimeType(MimeType sendMimeType) |
Constructor and Description |
---|
XDIHttpClient(HttpURLConnection httpURLConnection,
URI xdiEndpointUri,
MimeType sendMimeType,
MimeType recvMimeType) |
XDIHttpClient(HttpURLConnection httpURLConnection,
URI xdiEndpointUri,
MimeType sendMimeType,
MimeType recvMimeType,
String userAgent) |
XDIHttpClient(HttpURLConnection httpURLConnection,
URI xdiEndpointUri,
MimeType sendMimeType,
MimeType recvMimeType,
String userAgent,
Boolean followRedirects) |
XDIHttpClient(URI xdiEndpointUri,
MimeType sendMimeType,
MimeType recvMimeType) |
XDIHttpClient(URI xdiEndpointUri,
MimeType sendMimeType,
MimeType recvMimeType,
String userAgent) |
XDIHttpClient(URI xdiEndpointUri,
MimeType sendMimeType,
MimeType recvMimeType,
String userAgent,
Boolean followRedirects) |
Modifier and Type | Method and Description |
---|---|
MimeType |
XDIWebSocketClient.getSendMimeType() |
Modifier and Type | Method and Description |
---|---|
void |
XDIWebSocketClient.setSendMimeType(MimeType sendMimeType) |
Constructor and Description |
---|
XDIWebSocketClient(javax.websocket.Session session,
URI xdiWebSocketEndpointUri,
MimeType sendMimeType) |
XDIWebSocketClient(URI xdiWebSocketEndpointUri,
MimeType sendMimeType) |
Modifier and Type | Method and Description |
---|---|
Graph |
GraphFactory.parseGraph(String graph,
MimeType mimeType)
Opens a graph and fills it with content in one of the serialization formats.
|
String |
Graph.toString(MimeType mimeType)
Converts the graph to a string in the given MIME type.
|
Modifier and Type | Method and Description |
---|---|
Graph |
AbstractGraphFactory.parseGraph(String string,
MimeType mimeType) |
String |
AbstractGraph.toString(MimeType mimeType) |
Modifier and Type | Method and Description |
---|---|
MimeType |
XDIWriter.getMimeType()
Returns the mime type this XDIWriter can write, e.g.
|
MimeType |
XDIReader.getMimeType()
Returns the mime type this XDIReader can read, e.g.
|
MimeType |
AbstractXDIWriter.getMimeType() |
MimeType |
AbstractXDIReader.getMimeType() |
static MimeType[] |
XDIWriterRegistry.getMimeTypes()
Returns all mime types for which XDIWriter implementations exist.
|
static MimeType[] |
XDIReaderRegistry.getMimeTypes()
Returns all mime types for which XDIReader implementations exist.
|
MimeType |
MimeType.mimeTypeWithoutParameters() |
MimeType |
MimeType.mimeTypeWithoutQuality() |
Modifier and Type | Method and Description |
---|---|
int |
MimeType.compareTo(MimeType other) |
static XDIWriter |
XDIWriterRegistry.forMimeType(MimeType mimeType)
Returns an XDIWriter for the specified mime type, e.g.
|
static XDIReader |
XDIReaderRegistry.forMimeType(MimeType mimeType)
Returns an XDIReader for the specified mime type, e.g.
|
static boolean |
XDIWriterRegistry.supportsFileExtension(MimeType fileExtension)
Checks if we have an XDIWriter that supports this file extension.
|
static boolean |
XDIReaderRegistry.supportsFileExtension(MimeType fileExtension)
Checks if we have an XDIReader that supports this file extension.
|
static boolean |
XDIWriterRegistry.supportsMimeType(MimeType mimeType)
Checks if we have an XDIWriter that supports this MIME type.
|
boolean |
XDIWriter.supportsMimeType(MimeType mimeType)
Checks if a given mime type is supported.
|
boolean |
XDIReader.supportsMimeType(MimeType mimeType)
Checks if a given mime type is supported.
|
static boolean |
XDIReaderRegistry.supportsMimeType(MimeType mimeType)
Checks if we have an XDIReader that supports this MIME type.
|
boolean |
AbstractXDIWriter.supportsMimeType(MimeType mimeType) |
boolean |
AbstractXDIReader.supportsMimeType(MimeType mimeType) |
Modifier and Type | Field and Description |
---|---|
static MimeType |
XDIJSONReader.MIME_TYPE |
static MimeType |
XDIDisplayReader.MIME_TYPE |
static MimeType |
XDIJSONQuadReader.MIME_TYPE |
static MimeType |
XDIRawJSONReader.MIME_TYPE |
static MimeType |
XDIJXDReader.MIME_TYPE |
Modifier and Type | Field and Description |
---|---|
static MimeType |
XDIRDFTriGWriter.MIME_TYPE |
static MimeType |
XDIRDFJSONLDWriter.MIME_TYPE |
static MimeType |
XDIHTMLWriter.MIME_TYPE |
static MimeType |
XDIJSONTripleWriter.MIME_TYPE |
static MimeType |
XDIJSONTREEWriter.MIME_TYPE |
static MimeType |
XDIJSONWriter.MIME_TYPE |
static MimeType |
XDIDisplayWriter.MIME_TYPE |
static MimeType |
XDIJSONPARSEWriter.MIME_TYPE |
static MimeType |
XDIJSONQuadWriter.MIME_TYPE |
static MimeType |
XDIKeyValueWriter.MIME_TYPE |
static MimeType |
XDIJXDWriter.MIME_TYPE |
Modifier and Type | Field and Description |
---|---|
protected List<MimeType> |
AcceptHeader.mimeTypes |
Modifier and Type | Method and Description |
---|---|
MimeType |
AcceptHeader.bestMimeType(boolean canRead,
boolean canWrite)
Returns a MimeType that we can support for this Accept header.
|
Modifier and Type | Method and Description |
---|---|
List<MimeType> |
AcceptHeader.getMimeTypes() |
List<MimeType> |
AcceptHeader.getMimeTypesSortedByQuality() |
Modifier and Type | Method and Description |
---|---|
void |
AcceptHeader.addMimeType(MimeType mimeType) |
boolean |
AcceptHeader.containsMimeType(MimeType mimeType) |
static AcceptHeader |
AcceptHeader.create(MimeType preferredMimeType)
Creates an Accept: header with all the XDI mime types we understand,
and optionally with a "preferred" one.
|
Modifier and Type | Method and Description |
---|---|
MimeType |
StringMimeTypeConverter.convert(String string) |
Copyright © 2017. All rights reserved.