Uses of Class
org.apache.olingo.odata2.core.commons.ContentType
Packages that use ContentType
Package
Description
-
Uses of ContentType in org.apache.olingo.odata2.core
Methods in org.apache.olingo.odata2.core that return ContentTypeModifier and TypeMethodDescriptionContentNegotiator.doContentNegotiation(ODataRequest odataRequest, UriInfoImpl uriInfo, List<String> supportedContentTypes) Do the content negotiation foraccept header valuebased on requested content type (in HTTP accept header fromODataRequest) in combination with uri information fromUriInfoand from given supported content types (viasupportedContentTypes). -
Uses of ContentType in org.apache.olingo.odata2.core.batch
Methods in org.apache.olingo.odata2.core.batch with parameters of type ContentTypeModifier and TypeMethodDescriptionstatic CharsetBatchHelper.extractCharset(ContentType contentType) -
Uses of ContentType in org.apache.olingo.odata2.core.commons
Fields in org.apache.olingo.odata2.core.commons declared as ContentTypeModifier and TypeFieldDescriptionstatic final ContentTypeContentType.APPLICATION_ATOM_SVCstatic final ContentTypeContentType.APPLICATION_ATOM_SVC_CS_UTF_8static final ContentTypeContentType.APPLICATION_ATOM_XMLstatic final ContentTypeContentType.APPLICATION_ATOM_XML_CS_UTF_8static final ContentTypeContentType.APPLICATION_ATOM_XML_ENTRYstatic final ContentTypeContentType.APPLICATION_ATOM_XML_ENTRY_CS_UTF_8static final ContentTypeContentType.APPLICATION_ATOM_XML_FEEDstatic final ContentTypeContentType.APPLICATION_ATOM_XML_FEED_CS_UTF_8static final ContentTypeContentType.APPLICATION_JSONstatic final ContentTypeContentType.APPLICATION_JSON_CS_UTF_8static final ContentTypeContentType.APPLICATION_JSON_ODATA_VERBOSEstatic final ContentTypeContentType.APPLICATION_OCTET_STREAMstatic final ContentTypeContentType.APPLICATION_XMLstatic final ContentTypeContentType.APPLICATION_XML_CS_UTF_8static final ContentTypeContentType.MULTIPART_MIXEDstatic final ContentTypeContentType.TEXT_PLAINstatic final ContentTypeContentType.TEXT_PLAIN_CS_UTF_8static final ContentTypeContentType.WILDCARDMethods in org.apache.olingo.odata2.core.commons that return ContentTypeModifier and TypeMethodDescriptionstatic ContentTypeCreate aContentTypebased on given input string (format).static ContentTypeCreates a content type from type and subtypestatic ContentTypestatic ContentTypeContentType.create(ContentType contentType, String parameterKey, String parameterValue) static ContentTypeContentType.createAsCustom(String format) Create aContentTypebased on given input string (format).ContentType.match(List<ContentType> toMatchContentTypes) Find best match between thisContentTypeand theContentTypein the list.ContentType.matchCompatible(List<ContentType> toMatchContentTypes) Find best match between thisContentTypeand theContentTypein the list ignoring all set parameters.static ContentTypeParses the given input string (format) and returns createdContentTypeif input was valid or returnNULLif input was not parseable.ContentType.receiveWithCharsetParameter(String defaultCharset) Ensure that charset parameter (PARAMETER_CHARSET) is set on returned content type if thisContentTypeis aodata text relatedcontent type (@seeisContentTypeODataTextRelated()).Methods in org.apache.olingo.odata2.core.commons that return types with arguments of type ContentTypeModifier and TypeMethodDescriptionstatic List<ContentType>static List<ContentType>Create a list ofContentTypebased on given input strings (contentTypes).static List<ContentType>ContentType.createAsCustom(List<String> contentTypeStrings) Create a list ofContentTypebased on given input strings (contentTypes).Methods in org.apache.olingo.odata2.core.commons with parameters of type ContentTypeModifier and TypeMethodDescriptionintContentType.compareWildcardCounts(ContentType otherContentType) Compare wildcards counts/weights of bothContentType.static ContentTypeContentType.create(ContentType contentType, String parameterKey, String parameterValue) booleanContentType.isCompatible(ContentType obj) ContentTypes are compatible iftype,subtypehave the same value. iftypeand/orsubtypeis set to "*" The setparametersare always ignored (for compare with parameters seeequals(Object)).static booleanContentType.match(String toMatch, ContentType... matchExamples) Check if a valid match for given content type formated string (toMatch) exists in given list.Method parameters in org.apache.olingo.odata2.core.commons with type arguments of type ContentTypeModifier and TypeMethodDescriptionbooleanContentType.hasCompatible(List<ContentType> toMatchContentTypes) Check if a valid compatible match for thisContentTypeexists in given list.booleanContentType.hasMatch(List<ContentType> toMatchContentTypes) Check if a valid match for thisContentTypeexists in given list.ContentType.match(List<ContentType> toMatchContentTypes) Find best match between thisContentTypeand theContentTypein the list.ContentType.matchCompatible(List<ContentType> toMatchContentTypes) Find best match between thisContentTypeand theContentTypein the list ignoring all set parameters. -
Uses of ContentType in org.apache.olingo.odata2.core.rest
Methods in org.apache.olingo.odata2.core.rest that return ContentTypeModifier and TypeMethodDescriptionstatic ContentTypeRestUtil.extractRequestContentType(SubLocatorParameter param) -
Uses of ContentType in org.apache.olingo.odata2.core.servlet
Methods in org.apache.olingo.odata2.core.servlet that return ContentTypeModifier and TypeMethodDescriptionstatic ContentTypeRestUtil.extractRequestContentType(String contentType)