Uses of Class
org.netpreserve.jwarc.MediaType
Packages that use MediaType
Package
Description
Classes for parsing, serializing and manipulating WARC records.
-
Uses of MediaType in org.netpreserve.jwarc
Fields in org.netpreserve.jwarc declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeMediaType.GEMINIstatic final MediaTypeMediaType.GEMTEXTstatic MediaTypeMediaType.HTMLstatic MediaTypeMediaType.HTML_UTF8static MediaTypeMediaType.HTTPstatic MediaTypeMediaType.HTTP_REQUESTstatic MediaTypeMediaType.HTTP_RESPONSEstatic final MediaTypeMediaType.JSONstatic MediaTypeMediaType.OCTET_STREAMstatic MediaTypeMediaType.PLAIN_TEXTstatic MediaTypeMediaType.WARC_FIELDSstatic final MediaTypeMediaType.WWW_FORM_URLENCODEDMethods in org.netpreserve.jwarc that return MediaTypeModifier and TypeMethodDescriptionMediaType.base()The base type and subtype without any parameters.GeminiResponse.contentType()Message.contentType()The media type of the body.static MediaTypeParses a media type string strictly.static MediaTypeMediaType.parseLeniently(String string) Parses a media type string leniently.WarcCaptureRecord.payloadType()Content-Type of the payload.WarcRequest.payloadType()WarcResponse.payloadType()abstract MediaTypeWarcPayload.type()Methods in org.netpreserve.jwarc that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionWarcTargetRecord.identifiedPayloadType()A content-type that was identified by an independent check (not just what the server said).Methods in org.netpreserve.jwarc with parameters of type MediaTypeModifier and TypeMethodDescriptionSets the message body.Message.AbstractBuilder.body(MediaType contentType, ReadableByteChannel channel, long length) Sets the message body. -
Uses of MediaType in org.netpreserve.jwarc.cdx
Methods in org.netpreserve.jwarc.cdx that return MediaType