Uses of Class
com.apicatalog.jsonld.http.media.MediaType
-
Packages that use MediaType Package Description com.apicatalog.jsonld.document Processable documents.com.apicatalog.jsonld.http.link com.apicatalog.jsonld.http.media com.apicatalog.jsonld.loader Remote Document and Context Retrieval.com.apicatalog.rdf com.apicatalog.rdf.impl com.apicatalog.rdf.spi -
-
Uses of MediaType in com.apicatalog.jsonld.document
Fields in com.apicatalog.jsonld.document declared as MediaType Modifier and Type Field Description private MediaTypeJsonDocument. contentTypeprivate MediaTypeRdfDocument. contentTypeDeprecated.Methods in com.apicatalog.jsonld.document that return MediaType Modifier and Type Method Description MediaTypeDocument. getContentType()The Content-Type of the loaded document, exclusive of any optional parameters.MediaTypeJsonDocument. getContentType()MediaTypeRdfDocument. getContentType()Deprecated.Methods in com.apicatalog.jsonld.document with parameters of type MediaType Modifier and Type Method Description static booleanJsonDocument. accepts(MediaType contentType)static booleanRdfDocument. accepts(MediaType contentType)Deprecated.private static voidJsonDocument. assertContentType(MediaType contentType)private static voidRdfDocument. assertContentType(MediaType contentType)Deprecated.private static JsonDocumentJsonDocument. doParse(MediaType contentType, jakarta.json.stream.JsonParser parser)static JsonDocumentJsonDocument. of(MediaType contentType, jakarta.json.JsonStructure structure)Create a new document fromJsonStructure.static JsonDocumentJsonDocument. of(MediaType contentType, java.io.InputStream is)Create a new document from content provided byInputStream.static JsonDocumentJsonDocument. of(MediaType contentType, java.io.Reader reader)Create a new document from content provided byReader.static DocumentRdfDocument. of(MediaType contentType, RdfDataset dataset)Deprecated.Create a new document fromRdfDataset.static RdfDocumentRdfDocument. of(MediaType type, java.io.InputStream is)Deprecated.static DocumentRdfDocument. of(MediaType type, java.io.Reader reader)Deprecated.static DocumentDocumentParser. parse(MediaType contentType, java.io.InputStream inputStream)Deprecated.Create a new document.static DocumentDocumentParser. parse(MediaType contentType, java.io.Reader reader)Deprecated.Create a new document.private static JsonLdErrorDocumentParser. unsupportedMediaType(MediaType contentType)Deprecated.Constructors in com.apicatalog.jsonld.document with parameters of type MediaType Constructor Description JsonDocument(MediaType type, java.lang.String profile, jakarta.json.JsonStructure structure)RdfDocument(MediaType type, java.lang.String profile, RdfDataset dataset)Deprecated. -
Uses of MediaType in com.apicatalog.jsonld.http.link
Fields in com.apicatalog.jsonld.http.link declared as MediaType Modifier and Type Field Description private MediaTypeLink. typeMethods in com.apicatalog.jsonld.http.link that return types with arguments of type MediaType Modifier and Type Method Description java.util.Optional<MediaType>Link. type()Constructors in com.apicatalog.jsonld.http.link with parameters of type MediaType Constructor Description Link(java.net.URI contextUri, java.net.URI targetUri, java.util.Set<java.lang.String> relations, MediaType type, LinkAttributes attributes) -
Uses of MediaType in com.apicatalog.jsonld.http.media
Fields in com.apicatalog.jsonld.http.media declared as MediaType Modifier and Type Field Description static MediaTypeMediaType. ANYstatic MediaTypeMediaType. HTMLstatic MediaTypeMediaType. JSONstatic MediaTypeMediaType. JSON_LDstatic MediaTypeMediaType. N_QUADSstatic MediaTypeMediaType. XHTMLMethods in com.apicatalog.jsonld.http.media that return MediaType Modifier and Type Method Description static MediaTypeMediaType. of(java.lang.String value)static MediaTypeMediaType. of(java.lang.String type, java.lang.String subtype)static MediaTypeMediaType. of(java.lang.String type, java.lang.String subtype, java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)MediaTypeMediaTypeParser. parse()Methods in com.apicatalog.jsonld.http.media with parameters of type MediaType Modifier and Type Method Description booleanMediaType. match(MediaType mediaType) -
Uses of MediaType in com.apicatalog.jsonld.loader
Fields in com.apicatalog.jsonld.loader declared as MediaType Modifier and Type Field Description private MediaTypeDocumentResolver. fallbackContentTypeMethods in com.apicatalog.jsonld.loader that return types with arguments of type MediaType Modifier and Type Method Description private static java.util.Optional<MediaType>FileLoader. detectedContentType(java.lang.String name)Methods in com.apicatalog.jsonld.loader with parameters of type MediaType Modifier and Type Method Description DefaultHttpLoaderDefaultHttpLoader. fallbackContentType(MediaType fallbackContentType)Set fallback content-type used when received content-type is not supported.private static DocumentReader<java.io.InputStream>DocumentResolver. findReader(MediaType type)DocumentReader<java.io.InputStream>DocumentResolver. getReader(MediaType contentType)Return a reader or throwJsonLdErrorif there is no reader nor fallbackContentType.private DocumentDefaultHttpLoader. resolve(MediaType type, java.net.URI targetUri, java.net.URI contextUrl, HttpResponse response)voidDefaultHttpLoader. setFallbackContentType(MediaType fallbackContentType)Deprecated.useDefaultHttpLoader#fallbackContentType(MediaType)Set fallback content-type used when received content-type is not supported.voidDocumentResolver. setFallbackContentType(MediaType fallbackContentType) -
Uses of MediaType in com.apicatalog.rdf
Methods in com.apicatalog.rdf that return types with arguments of type MediaType Modifier and Type Method Description static java.util.Collection<MediaType>Rdf. canRead()Deprecated.static java.util.Collection<MediaType>Rdf. canWrite()Deprecated.Methods in com.apicatalog.rdf with parameters of type MediaType Modifier and Type Method Description static RdfReaderRdf. createReader(MediaType contentType, java.io.InputStream is)Deprecated.static RdfReaderRdf. createReader(MediaType contentType, java.io.Reader reader)Deprecated.static RdfWriterRdf. createWriter(MediaType contentType, java.io.OutputStream os)Deprecated.static RdfWriterRdf. createWriter(MediaType contentType, java.io.Writer writer)Deprecated. -
Uses of MediaType in com.apicatalog.rdf.impl
Fields in com.apicatalog.rdf.impl with type parameters of type MediaType Modifier and Type Field Description private static java.util.Collection<MediaType>DefaultRdfProvider. CAN_READWRITEDeprecated.Methods in com.apicatalog.rdf.impl that return types with arguments of type MediaType Modifier and Type Method Description java.util.Collection<MediaType>DefaultRdfProvider. canRead()Deprecated.java.util.Collection<MediaType>DefaultRdfProvider. canWrite()Deprecated.Methods in com.apicatalog.rdf.impl with parameters of type MediaType Modifier and Type Method Description RdfReaderDefaultRdfProvider. createReader(MediaType contentType, java.io.Reader reader)Deprecated.RdfWriterDefaultRdfProvider. createWriter(MediaType contentType, java.io.Writer writer)Deprecated. -
Uses of MediaType in com.apicatalog.rdf.spi
Methods in com.apicatalog.rdf.spi that return types with arguments of type MediaType Modifier and Type Method Description abstract java.util.Collection<MediaType>RdfProvider. canRead()Deprecated.abstract java.util.Collection<MediaType>RdfProvider. canWrite()Deprecated.Methods in com.apicatalog.rdf.spi with parameters of type MediaType Modifier and Type Method Description abstract RdfReaderRdfProvider. createReader(MediaType contentType, java.io.Reader reader)Deprecated.abstract RdfWriterRdfProvider. createWriter(MediaType contentType, java.io.Writer writer)Deprecated.
-