Uses of Class
jakarta.ws.rs.core.MediaType
Packages that use MediaType
Package
Description
Jackson-based Jakarta-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
The JAX-RS client API
Container-specific JAX-RS API.
Low-level interfaces and annotations used to create RESTful service resources.
APIs that provide extensions to the types supported by the JAX-RS API.
Server-Sent Events related API.
-
Uses of MediaType in com.fasterxml.jackson.jakarta.rs.base
Methods in com.fasterxml.jackson.jakarta.rs.base with parameters of type MediaTypeModifier and TypeMethodDescriptionprotected EP_CONFIGProviderBase._endpointForReading(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders) Overridable helper method that will basically fetch representation of the endpoint that can be used to getObjectReaderto use for deserializing contentprotected EP_CONFIGProviderBase._endpointForWriting(Object value, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders) protected abstract MAPPERProviderBase._locateMapperViaProvider(Class<?> type, MediaType mediaType) Helper method that is called if no mapper has been explicitly configured.protected JsonEncodingProviderBase.findEncoding(MediaType mediaType, MultivaluedMap<String, Object> httpHeaders) Helper method to use for determining desired output encoding.longProviderBase.getSize(Object value, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Method that Jakarta-RS container calls to try to figure out serialized length of given value.protected abstract booleanProviderBase.hasMatchingMediaType(MediaType mediaType) Helper method used to check whether given media type is supported by this provider.protected booleanProviderBase.hasMatchingMediaTypeForReading(MediaType mediaType) Helper method used to check whether given media type is supported by this provider for read operations (when binding input data such as POST body).protected booleanProviderBase.hasMatchingMediaTypeForWriting(MediaType mediaType) Helper method used to check whether given media type is supported by this provider for writing operations, such as when converting response object to response body of request (like GET or POST).booleanProviderBase.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Method that Jakarta-RS container calls to try to check whether values of given type (and media type) can be deserialized by this provider.booleanProviderBase.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Method that Jakarta-RS container calls to try to check whether given value (of specified type) can be serialized by this provider.ProviderBase.locateMapper(Class<?> type, MediaType mediaType) Method called to locateObjectMapperto use for serialization and deserialization.ProviderBase.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Method that Jakarta-RS container calls to deserialize given value.voidProviderBase.writeTo(Object value, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Method that Jakarta-RS container calls to serialize given value. -
Uses of MediaType in com.fasterxml.jackson.jakarta.rs.json
Methods in com.fasterxml.jackson.jakarta.rs.json with parameters of type MediaTypeModifier and TypeMethodDescriptionprotected ObjectMapperJacksonJsonProvider._locateMapperViaProvider(Class<?> type, MediaType mediaType) protected booleanJacksonJsonProvider.hasMatchingMediaType(MediaType mediaType) Helper method used to check whether given media type is supported by this provider. -
Uses of MediaType in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return MediaTypeModifier and TypeMethodDescriptionClientRequestContext.getMediaType()Get the media type of the entity.ClientResponseContext.getMediaType()Get the media type of the entity.Entity.getMediaType()Get entity media type.Methods in jakarta.ws.rs.client that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionClientRequestContext.getAcceptableMediaTypes()Get a list of media types that are acceptable for the response.Methods in jakarta.ws.rs.client with parameters of type MediaTypeModifier and TypeMethodDescriptionAdd the accepted response media types.static <T> Entity<T>Create an entity using a supplied content media type.static <T> Entity<T>Entity.entity(T entity, MediaType mediaType, Annotation[] annotations) Create an entity using a supplied content media type.Start building a request to the targeted web resource and define the accepted response media types.voidClientRequestContext.setEntity(Object entity, Annotation[] annotations, MediaType mediaType) Set a new message entity, including the attached annotations and the media type. -
Uses of MediaType in jakarta.ws.rs.container
Methods in jakarta.ws.rs.container that return MediaTypeModifier and TypeMethodDescriptionContainerRequestContext.getMediaType()Get the media type of the entity.ContainerResponseContext.getMediaType()Get the media type of the entity.Methods in jakarta.ws.rs.container that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionContainerRequestContext.getAcceptableMediaTypes()Get a list of media types that are acceptable for the response.Methods in jakarta.ws.rs.container with parameters of type MediaTypeModifier and TypeMethodDescriptionvoidContainerResponseContext.setEntity(Object entity, Annotation[] annotations, MediaType mediaType) Set a new message entity, including the attached annotations and the media type. -
Uses of MediaType in jakarta.ws.rs.core
Fields in jakarta.ws.rs.core declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeMediaType.APPLICATION_ATOM_XML_TYPEAMediaTypeconstant representing "application/atom+xml" media type.static final MediaTypeMediaType.APPLICATION_FORM_URLENCODED_TYPEAMediaTypeconstant representing "application/x-www-form-urlencoded" media type.static final MediaTypeMediaType.APPLICATION_JSON_PATCH_JSON_TYPEAMediaTypeconstant representing "application/json-patch+json" media type.static final MediaTypeMediaType.APPLICATION_JSON_TYPEAMediaTypeconstant representing "application/json" media type.static final MediaTypeMediaType.APPLICATION_OCTET_STREAM_TYPEAMediaTypeconstant representing "application/octet-stream" media type.static final MediaTypeMediaType.APPLICATION_SVG_XML_TYPEAMediaTypeconstant representing "application/svg+xml" media type.static final MediaTypeMediaType.APPLICATION_XHTML_XML_TYPEAMediaTypeconstant representing "application/xhtml+xml" media type.static final MediaTypeMediaType.APPLICATION_XML_TYPEAMediaTypeconstant representing "application/xml" media type.static final MediaTypeMediaType.MULTIPART_FORM_DATA_TYPEAMediaTypeconstant representing "multipart/form-data" media type.static final MediaTypeMediaType.SERVER_SENT_EVENTS_TYPEServer sent events media type.static final MediaTypeMediaType.TEXT_HTML_TYPEAMediaTypeconstant representing "text/html" media type.static final MediaTypeMediaType.TEXT_PLAIN_TYPEAMediaTypeconstant representing "text/plain" media type.static final MediaTypeMediaType.TEXT_XML_TYPEAMediaTypeconstant representing "text/xml" media type.static final MediaTypeMediaType.WILDCARD_TYPEMethods in jakarta.ws.rs.core that return MediaTypeModifier and TypeMethodDescriptionEntityPart.getMediaType()Returns the content type of this part, and equivalent to callingMediaType.valueOf(part.getHeaders().getFirst(HttpHeaders.CONTENT_TYPE)).HttpHeaders.getMediaType()Get the media type of the request entity.abstract MediaTypeResponse.getMediaType()Get the media type of the message entity.Variant.getMediaType()Get the media type of the variant.static MediaTypeCreates a new instance ofMediaTypeby parsing the supplied string.MediaType.withCharset(String charset) Create a newMediaTypeinstance with the same type, subtype and parameters copied from the original instance and the supplied "charset" parameter.Methods in jakarta.ws.rs.core that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionHttpHeaders.getAcceptableMediaTypes()Get a list of media types that are acceptable for the response.Methods in jakarta.ws.rs.core with parameters of type MediaTypeModifier and TypeMethodDescriptionbooleanMediaType.isCompatible(MediaType other) Check if this media type is compatible with another media type.Sets the media type for the EntityPart.static Variant.VariantListBuilderVariant.mediaTypes(MediaType... mediaTypes) Create aVariant.VariantListBuilderinitialized with a set of supported media types.abstract Variant.VariantListBuilderVariant.VariantListBuilder.mediaTypes(MediaType... mediaTypes) Set the media type(s) for this variant.static Response.ResponseBuilderCreate a new ResponseBuilder that contains a representation.abstract Response.ResponseBuilderSet the message entity media type.Constructors in jakarta.ws.rs.core with parameters of type MediaType -
Uses of MediaType in jakarta.ws.rs.ext
Methods in jakarta.ws.rs.ext that return MediaTypeModifier and TypeMethodDescriptionInterceptorContext.getMediaType()Get media type of HTTP entity.Methods in jakarta.ws.rs.ext with parameters of type MediaTypeModifier and TypeMethodDescription<T> ContextResolver<T>Providers.getContextResolver(Class<T> contextType, MediaType mediaType) Get a context resolver for a particular type of context and media type.<T> MessageBodyReader<T>Providers.getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Get a message body reader that matches a set of criteria.<T> MessageBodyWriter<T>Providers.getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Get a message body writer that matches a set of criteria.default longMessageBodyWriter.getSize(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Originally, the method has been called beforewriteToto ascertain the length in bytes of the serialized form oft.booleanMessageBodyReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyReader can produce an instance of a particular type.booleanMessageBodyWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyWriter supports a particular type.MessageBodyReader.readFrom(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Read a type from theInputStream.voidInterceptorContext.setMediaType(MediaType mediaType) Update media type of HTTP entity.voidMessageBodyWriter.writeTo(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Write a type to an HTTP message. -
Uses of MediaType in jakarta.ws.rs.sse
Methods in jakarta.ws.rs.sse that return MediaTypeModifier and TypeMethodDescriptionOutboundSseEvent.getMediaType()Getmedia typeof the event data.Methods in jakarta.ws.rs.sse with parameters of type MediaTypeModifier and TypeMethodDescriptionSet themedia typeof the event data.<T> TInboundSseEvent.readData(GenericType<T> type, MediaType mediaType) Read event data as a given generic type.<T> TRead event data as a given Java type. -
Uses of MediaType in org.jboss.resteasy.api.validation
Methods in org.jboss.resteasy.api.validation that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionResteasyViolationException.getAccept()ResteasyViolationException.toMediaTypeList(List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType> cloneableList) Method parameters in org.jboss.resteasy.api.validation with type arguments of type MediaTypeModifier and TypeMethodDescriptionvoidprotected static List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType>ResteasyViolationException.toCloneableMediaTypeList(List<MediaType> list) Constructor parameters in org.jboss.resteasy.api.validation with type arguments of type MediaTypeModifierConstructorDescriptionResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept) New constructorResteasyViolationException(SimpleViolationsContainer container, List<MediaType> accept) New constructor -
Uses of MediaType in org.jboss.resteasy.client.jaxrs
Methods in org.jboss.resteasy.client.jaxrs that return MediaTypeModifier and TypeMethodDescriptionProxyConfig.getDefaultConsumes()ProxyConfig.getDefaultProduces()Methods in org.jboss.resteasy.client.jaxrs with parameters of type MediaTypeModifier and TypeMethodDescriptionabstract ProxyBuilder<T>ProxyBuilder.defaultConsumes(MediaType type) abstract ProxyBuilder<T>ProxyBuilder.defaultProduces(MediaType type) Constructors in org.jboss.resteasy.client.jaxrs with parameters of type MediaTypeModifierConstructorDescriptionProxyConfig(ClassLoader loader, MediaType defaultConsumes, MediaType defaultProduces) -
Uses of MediaType in org.jboss.resteasy.client.jaxrs.cache
Methods in org.jboss.resteasy.client.jaxrs.cache that return MediaTypeMethods in org.jboss.resteasy.client.jaxrs.cache with parameters of type MediaTypeModifier and TypeMethodDescriptionBrowserCache.put(String key, MediaType mediaType, MultivaluedMap<String, String> headers, byte[] cached, int expires, String etag, String lastModified) LightweightBrowserCache.put(String key, MediaType mediaType, MultivaluedMap<String, String> headers, byte[] cached, int expires, String etag, String lastModified) MapCache.put(String key, MediaType mediaType, MultivaluedMap<String, String> headers, byte[] cached, int expires, String etag, String lastModified) Constructors in org.jboss.resteasy.client.jaxrs.cache with parameters of type MediaTypeModifierConstructorDescriptionCacheEntry(String key, MultivaluedMap<String, String> headers, byte[] cached, int expires, String etag, String lastModified, MediaType mediaType) -
Uses of MediaType in org.jboss.resteasy.client.jaxrs.i18n
Methods in org.jboss.resteasy.client.jaxrs.i18n with parameters of type MediaTypeModifier and TypeMethodDescriptionfinal StringMessages_$bundle.failedToBufferAbortedResponseNoWriter(MediaType mediaType, String className) Messages.failedToBufferAbortedResponseNoWriter(MediaType mediaType, String className) -
Uses of MediaType in org.jboss.resteasy.client.jaxrs.internal
Methods in org.jboss.resteasy.client.jaxrs.internal that return MediaTypeModifier and TypeMethodDescriptionClientRequestContextImpl.getMediaType()ClientRequestHeaders.getMediaType()ClientResponseContextImpl.getMediaType()Methods in org.jboss.resteasy.client.jaxrs.internal that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionClientRequestContextImpl.getAcceptableMediaTypes()ClientRequestHeaders.getAcceptableMediaTypes()Methods in org.jboss.resteasy.client.jaxrs.internal with parameters of type MediaTypeModifier and TypeMethodDescriptionvoid<T> ContextResolver<T>ClientConfiguration.getContextResolver(Class<T> contextType, MediaType mediaType) <T> MessageBodyReader<T>ClientConfiguration.getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ClientConfiguration.getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected <T> ObjectClientResponse.readFrom(Class<T> type, Type genericType, MediaType media, Annotation[] annotations) voidClientRequestContextImpl.setEntity(Object entity, Annotation[] annotations, MediaType mediaType) voidClientRequestHeaders.setMediaType(MediaType mediaType) -
Uses of MediaType in org.jboss.resteasy.client.jaxrs.internal.proxy
Fields in org.jboss.resteasy.client.jaxrs.internal.proxy declared as MediaTypeMethods in org.jboss.resteasy.client.jaxrs.internal.proxy that return MediaTypeMethods in org.jboss.resteasy.client.jaxrs.internal.proxy with parameters of type MediaTypeModifier and TypeMethodDescriptionProxyBuilderImpl.defaultConsumes(MediaType type) ProxyBuilderImpl.defaultProduces(MediaType type) -
Uses of MediaType in org.jboss.resteasy.client.jaxrs.internal.proxy.processors
Methods in org.jboss.resteasy.client.jaxrs.internal.proxy.processors with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic ObjectProcessorFactory.createProcessor(Class<?> declaring, String defaultParameterName, ClientConfiguration configuration, Class<?> type, Annotation[] annotations, Type genericType, AccessibleObject target, MediaType defaultConsumes, boolean ignoreBody) static Object[]ProcessorFactory.createProcessors(Class declaringClass, Method method, ClientConfiguration configuration, MediaType defaultConsumes) -
Uses of MediaType in org.jboss.resteasy.client.jaxrs.internal.proxy.processors.invocation
Methods in org.jboss.resteasy.client.jaxrs.internal.proxy.processors.invocation that return MediaTypeConstructors in org.jboss.resteasy.client.jaxrs.internal.proxy.processors.invocation with parameters of type MediaTypeModifierConstructorDescriptionMessageBodyParameterProcessor(MediaType mediaType, Class<?> type, Type genericType, Annotation[] annotations) -
Uses of MediaType in org.jboss.resteasy.core
Methods in org.jboss.resteasy.core that return MediaTypeModifier and TypeMethodDescriptionThreadLocalResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) ResourceMethodInvoker.getConsumes()protected static MediaTypeServerResponseWriter.getDefaultContentType(HttpRequest request, BuiltResponse jaxrsResponse, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) ResourceMethodInvoker.getProduces()static MediaTypeServerResponseWriter.getResponseMediaType(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method) ResourceMethodInvoker.resolveContentType(HttpRequest in, Object entity) static MediaTypeServerResponseWriter.resolveContentType(BuiltResponse response) protected MediaTypeResourceMethodInvoker.resolveContentTypeByAccept(List<MediaType> accepts, Object entity) Methods in org.jboss.resteasy.core with parameters of type MediaTypeModifier and TypeMethodDescriptionvoidAdd an object to the media type map.voidMediaTypeMap.addCompositeWild(MediaType mediaType, T obj, String baseSubtype) voidMediaTypeMap.addRegular(MediaType mediaType, T obj) voidMediaTypeMap.addWildComposite(MediaType mediaType, T obj, String baseSubtype) voidMediaTypeMap.addWildSubtype(MediaType mediaType, T obj) booleanResourceMethodInvoker.doesConsume(MediaType contentType) <T> MessageBodyReader<T>ThreadLocalResteasyProviderFactory.getClientMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ThreadLocalResteasyProviderFactory.getClientMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) ThreadLocalResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> ContextResolver<T>ThreadLocalResteasyProviderFactory.getContextResolver(Class<T> contextType, MediaType mediaType) ThreadLocalResteasyProviderFactory.getContextResolvers(Class<?> clazz, MediaType type) <T> MessageBodyReader<T>ThreadLocalResteasyProviderFactory.getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ThreadLocalResteasyProviderFactory.getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) MediaTypeMap.getPossible(MediaType accept) Returns a list of objects sorted based on their media type where the first in the list is the best matchMediaTypeMap.getPossible(MediaType accept, Class<?> type) booleanMessageBodyParameterInjector.isFormData(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Method parameters in org.jboss.resteasy.core with type arguments of type MediaTypeModifier and TypeMethodDescriptionbooleanResourceMethodInvoker.doesProduce(List<? extends MediaType> accepts) protected MediaTypeResourceMethodInvoker.resolveContentTypeByAccept(List<MediaType> accepts, Object entity) voidAcceptHeaderByFileSuffixFilter.setMediaTypeMappings(Map<String, MediaType> mediaTypeMappings) Constructors in org.jboss.resteasy.core with parameters of type MediaType -
Uses of MediaType in org.jboss.resteasy.core.interception.jaxrs
Fields in org.jboss.resteasy.core.interception.jaxrs declared as MediaTypeModifier and TypeFieldDescriptionprotected MediaTypeAbstractReaderInterceptorContext.mediaTypeprotected MediaTypeAbstractWriterInterceptorContext.mediaTypeMethods in org.jboss.resteasy.core.interception.jaxrs that return MediaTypeModifier and TypeMethodDescriptionAbstractReaderInterceptorContext.getMediaType()AbstractWriterInterceptorContext.getMediaType()ContainerResponseContextImpl.getMediaType()PreMatchContainerRequestContext.getMediaType()Methods in org.jboss.resteasy.core.interception.jaxrs that return types with arguments of type MediaTypeMethods in org.jboss.resteasy.core.interception.jaxrs with parameters of type MediaTypeModifier and TypeMethodDescription<T> TDecoratorMatcher.decorate(Class<T> targetClass, T target, Class type, Annotation[] annotations, MediaType mediaType) protected abstract MessageBodyReaderAbstractReaderInterceptorContext.resolveReader(MediaType mediaType) protected MessageBodyReaderClientReaderInterceptorContext.resolveReader(MediaType mediaType) protected MessageBodyReaderServerReaderInterceptorContext.resolveReader(MediaType mediaType) voidContainerResponseContextImpl.setEntity(Object entity, Annotation[] annotations, MediaType mediaType) voidAbstractReaderInterceptorContext.setMediaType(MediaType mediaType) voidAbstractWriterInterceptorContext.setMediaType(MediaType mediaType) Constructors in org.jboss.resteasy.core.interception.jaxrs with parameters of type MediaTypeModifierConstructorDescriptionAbstractReaderInterceptorContext(MediaType mediaType, ResteasyProviderFactory providerFactory, Annotation[] annotations, ReaderInterceptor[] interceptors, MultivaluedMap<String, String> headers, Type genericType, Class type, InputStream inputStream) Deprecated.AbstractReaderInterceptorContext(MediaType mediaType, ResteasyProviderFactory providerFactory, Annotation[] annotations, ReaderInterceptor[] interceptors, MultivaluedMap<String, String> headers, Type genericType, Class type, InputStream inputStream, RESTEasyTracingLogger logger) AbstractWriterInterceptorContext(WriterInterceptor[] interceptors, Annotation[] annotations, Object entity, Type genericType, MediaType mediaType, Class type, OutputStream outputStream, ResteasyProviderFactory providerFactory, MultivaluedMap<String, Object> headers) Deprecated.AbstractWriterInterceptorContext(WriterInterceptor[] interceptors, Annotation[] annotations, Object entity, Type genericType, MediaType mediaType, Class type, OutputStream outputStream, ResteasyProviderFactory providerFactory, MultivaluedMap<String, Object> headers, RESTEasyTracingLogger logger) ClientReaderInterceptorContext(ReaderInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream inputStream, Map<String, Object> properties) Deprecated.ClientReaderInterceptorContext(ReaderInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream inputStream, Map<String, Object> properties, RESTEasyTracingLogger tracingLogger) ClientWriterInterceptorContext(WriterInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Object entity, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> headers, OutputStream outputStream, Map<String, Object> properties) Deprecated.ClientWriterInterceptorContext(WriterInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Object entity, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> headers, OutputStream outputStream, Map<String, Object> properties, RESTEasyTracingLogger tracingLogger) ServerReaderInterceptorContext(ReaderInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream inputStream, HttpRequest request) ServerWriterInterceptorContext(WriterInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Object entity, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> headers, OutputStream outputStream, HttpRequest request, Consumer<Throwable> onWriteComplete) -
Uses of MediaType in org.jboss.resteasy.core.messagebody
Methods in org.jboss.resteasy.core.messagebody with parameters of type MediaTypeModifier and TypeMethodDescriptiondefault CompletionStage<Void>AsyncBufferedMessageBodyWriter.asyncWriteTo(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) abstract RuntimeExceptionReaderUtility.createReaderNotFound(Type genericType, MediaType mediaType) Deprecated.abstract RuntimeExceptionWriterUtility.createWriterNotFound(Type genericType, MediaType mediaType) Deprecated.<T> TReaderUtility.doRead(Class<T> type, MediaType mediaType, InputStream is) Deprecated.<T> TReaderUtility.doRead(Class<T> type, Type genericType, MediaType mediaType, MultivaluedMap<String, String> requestHeaders, InputStream is) Deprecated.<T> TReaderUtility.doRead(Class<T> type, Type genericType, MediaType mediaType, Annotation[] annotations, MultivaluedMap<String, String> requestHeaders, InputStream inputStream) Deprecated.ReaderUtility.doRead(HttpRequest request, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated.voidWriterUtility.doWrite(Object toOutput, MediaType mediaType, OutputStream os) Deprecated.voidWriterUtility.doWrite(Object toOutput, Class type, MediaType mediaType, OutputStream os) Deprecated.voidWriterUtility.doWrite(Object toOutput, Class type, Type genericType, MediaType mediaType, MultivaluedMap<String, Object> requestHeaders, OutputStream os) Deprecated.voidWriterUtility.doWrite(Object toOutput, Class type, Type genericType, MediaType mediaType, Annotation[] annotations, MultivaluedMap<String, Object> requestHeaders, OutputStream outputStream) Deprecated.voidWriterUtility.doWrite(HttpResponse response, Object toOutput, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated.static <T> TDeprecated.static <T> TReaderUtility.read(Class<T> type, MediaType mt, InputStream is) Deprecated.static voidWriterUtility.write(Object toOutput, MediaType mt, OutputStream os) Deprecated. -
Uses of MediaType in org.jboss.resteasy.core.providerfactory
Methods in org.jboss.resteasy.core.providerfactory that return MediaTypeModifier and TypeMethodDescriptionResteasyProviderFactoryDelegate.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) ResteasyProviderFactoryImpl.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Methods in org.jboss.resteasy.core.providerfactory with parameters of type MediaTypeModifier and TypeMethodDescriptionvoidCommonProviders.addCompositeWildcardMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr, String baseSubtype) voidNOOPClientHelper.addCompositeWildcardMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr, String baseSubtype) voidNOOPServerHelper.addCompositeWildcardMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr, String baseSubtype) voidCommonProviders.addCompositeWildcardMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw, String baseSubtype) voidNOOPClientHelper.addCompositeWildcardMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw, String baseSubtype) voidNOOPServerHelper.addCompositeWildcardMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw, String baseSubtype) voidCommonProviders.addRegularMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr) voidNOOPClientHelper.addRegularMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr) voidNOOPServerHelper.addRegularMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr) voidCommonProviders.addRegularMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw) voidNOOPClientHelper.addRegularMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw) voidNOOPServerHelper.addRegularMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw) voidCommonProviders.addSubtypeWildMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr) voidNOOPClientHelper.addSubtypeWildMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr) voidNOOPServerHelper.addSubtypeWildMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr) voidCommonProviders.addSubtypeWildMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw) voidNOOPClientHelper.addSubtypeWildMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw) voidNOOPServerHelper.addSubtypeWildMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw) voidCommonProviders.addWildcardCompositeMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr, String baseSubtype) voidNOOPClientHelper.addWildcardCompositeMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr, String baseSubtype) voidNOOPServerHelper.addWildcardCompositeMBR(MediaType mediaType, SortedKey<MessageBodyReader> mbr, String baseSubtype) voidCommonProviders.addWildcardCompositeMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw, String baseSubtype) voidNOOPClientHelper.addWildcardCompositeMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw, String baseSubtype) voidNOOPServerHelper.addWildcardCompositeMBW(MediaType mediaType, SortedKey<MessageBodyWriter> mbw, String baseSubtype) <T> MessageBodyReader<T>ResteasyProviderFactoryDelegate.getClientMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyReader<T>ResteasyProviderFactoryImpl.getClientMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ResteasyProviderFactoryDelegate.getClientMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ResteasyProviderFactoryImpl.getClientMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) ResteasyProviderFactoryDelegate.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) ResteasyProviderFactoryImpl.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> ContextResolver<T>ResteasyProviderFactoryDelegate.getContextResolver(Class<T> contextType, MediaType mediaType) <T> ContextResolver<T>ResteasyProviderFactoryImpl.getContextResolver(Class<T> contextType, MediaType mediaType) ResteasyProviderFactoryDelegate.getContextResolvers(Class<?> clazz, MediaType type) ResteasyProviderFactoryImpl.getContextResolvers(Class<?> clazz, MediaType type) <T> MessageBodyReader<T>ResteasyProviderFactoryDelegate.getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyReader<T>ResteasyProviderFactoryImpl.getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Always returns server MBRs.<T> MessageBodyWriter<T>ResteasyProviderFactoryDelegate.getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ResteasyProviderFactoryImpl.getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Always gets server MBW.Map<MessageBodyWriter<?>,Class<?>> ResteasyProviderFactoryDelegate.getPossibleMessageBodyWritersMap(Class type, Type genericType, Annotation[] annotations, MediaType accept) Map<MessageBodyWriter<?>,Class<?>> ResteasyProviderFactoryImpl.getPossibleMessageBodyWritersMap(Class type, Type genericType, Annotation[] annotations, MediaType accept) <T> MessageBodyReader<T>ResteasyProviderFactoryDelegate.getServerMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyReader<T>ResteasyProviderFactoryImpl.getServerMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated.<T> MessageBodyReader<T>ResteasyProviderFactoryImpl.getServerMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, RESTEasyTracingLogger tracingLogger) <T> MessageBodyWriter<T>ResteasyProviderFactoryDelegate.getServerMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> MessageBodyWriter<T>ResteasyProviderFactoryImpl.getServerMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated.<T> MessageBodyWriter<T>ResteasyProviderFactoryImpl.getServerMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, RESTEasyTracingLogger tracingLogger) -
Uses of MediaType in org.jboss.resteasy.core.registry
Fields in org.jboss.resteasy.core.registry declared as MediaTypeModifier and TypeFieldDescriptionMatchCache.chosenMatchCache.Key.contentTypestatic final MediaType[]SegmentNode.WILDCARD_ARRAYFields in org.jboss.resteasy.core.registry with type parameters of type MediaTypeMethods in org.jboss.resteasy.core.registry that return MediaTypeMethods in org.jboss.resteasy.core.registry with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic SegmentNode.SortFactorSegmentNode.createSortFactor(MediaType client, MediaType server) Constructors in org.jboss.resteasy.core.registry with parameters of type MediaTypeModifierConstructorDescriptionSortEntry(SegmentNode.Match match, SegmentNode.SortFactor consumes, SegmentNode.SortFactor produces, MediaType serverProduce) -
Uses of MediaType in org.jboss.resteasy.core.request
Methods in org.jboss.resteasy.core.request that return MediaTypeMethods in org.jboss.resteasy.core.request that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionstatic Map<MediaType,QualityValue> AcceptHeaders.getMediaTypeQualityValues(String header) Gets the media types from a comma-separated list.Methods in org.jboss.resteasy.core.request with parameters of type MediaTypeModifier and TypeMethodDescriptionvoidVariantQuality.setRequestMediaType(MediaType requestMediaType) -
Uses of MediaType in org.jboss.resteasy.mock
Methods in org.jboss.resteasy.mock with parameters of type MediaTypeMethod parameters in org.jboss.resteasy.mock with type arguments of type MediaTypeModifier and TypeMethodDescription -
Uses of MediaType in org.jboss.resteasy.plugins.delegates
Methods in org.jboss.resteasy.plugins.delegates that return MediaTypeModifier and TypeMethodDescriptionMediaTypeHeaderDelegate.fromString(String type) static MediaTypeMethods in org.jboss.resteasy.plugins.delegates with parameters of type MediaType -
Uses of MediaType in org.jboss.resteasy.plugins.providers
Fields in org.jboss.resteasy.plugins.providers declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeAbstractPatchMethodFilter.APPLICATION_JSON_MERGE_PATCH_JSON_TYPEMethods in org.jboss.resteasy.plugins.providers that return types with arguments of type MediaTypeMethods in org.jboss.resteasy.plugins.providers with parameters of type MediaTypeModifier and TypeMethodDescriptionAsyncStreamingOutputProvider.asyncWriteTo(AsyncStreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) ByteArrayProvider.asyncWriteTo(byte[] bytes, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) DataSourceProvider.asyncWriteTo(DataSource dataSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) DefaultBooleanWriter.asyncWriteTo(Boolean t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) DefaultNumberWriter.asyncWriteTo(Number n, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) DefaultTextPlain.asyncWriteTo(Object o, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, AsyncOutputStream entityStream) FileProvider.asyncWriteTo(File uploadFile, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) FileRangeWriter.asyncWriteTo(FileRange fileRange, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) FormUrlEncodedProvider.asyncWriteTo(MultivaluedMap data, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) IIOImageProvider.asyncWriteTo(IIOImage t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) InputStreamProvider.asyncWriteTo(InputStream inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) JaxrsFormProvider.asyncWriteTo(Form form, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) StringTextStar.asyncWriteTo(String o, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) static ImageReaderIIOImageProviderHelper.getImageReaderByMediaType(MediaType mediaType) FIXME Comment thisstatic ImageWriterIIOImageProviderHelper.getImageWriterByMediaType(MediaType mediaType) FIXME Comment thislongAbstractEntityProvider.getSize(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longAsyncStreamingOutputProvider.getSize(AsyncStreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longByteArrayProvider.getSize(byte[] bytes, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longDefaultBooleanWriter.getSize(Boolean o, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) longDefaultNumberWriter.getSize(Number n, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longDefaultTextPlain.getSize(Object o, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) longFileProvider.getSize(File o, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longFileRangeWriter.getSize(FileRange fileRange, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longFormUrlEncodedProvider.getSize(MultivaluedMap stringStringMultivaluedMap, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longInputStreamProvider.getSize(InputStream inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longJaxrsFormProvider.getSize(Form form, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longReaderProvider.getSize(Reader inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longSourceProvider.getSize(Source inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longStreamingOutputProvider.getSize(StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longStringTextStar.getSize(String o, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanByteArrayProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanDataSourceProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyReader can produce an instance of a particular type.booleanDefaultTextPlain.isReadable(Class type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanDocumentProvider.isReadable(Class<?> clazz, Type type, Annotation[] annotation, MediaType mediaType) booleanFileProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanFormUrlEncodedProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanIIOImageProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyReader can produce an instance of a particular type.booleanInputStreamProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJaxrsFormProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJaxrsServerFormUrlEncodedProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanReaderProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanSourceProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanStringTextStar.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanAsyncStreamingOutputProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanByteArrayProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanDataSourceProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyWriter supports a particular type.booleanDefaultBooleanWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanDefaultNumberWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanDefaultTextPlain.isWriteable(Class type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanDocumentProvider.isWriteable(Class<?> clazz, Type type, Annotation[] annotation, MediaType mediaType) booleanFileProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanFileRangeWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanFormUrlEncodedProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanIIOImageProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyWriter supports a particular type.booleanInputStreamProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJaxrsFormProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanReaderProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanSourceProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanStreamingOutputProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanStringTextStar.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) static DataSourceDataSourceProvider.readDataSource(InputStream in, MediaType mediaType) byte[]ByteArrayProvider.readFrom(Class<byte[]> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) DataSourceProvider.readFrom(Class<DataSource> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Read a type from theInputStream.DefaultTextPlain.readFrom(Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, InputStream entityStream) DocumentProvider.readFrom(Class<Document> clazz, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream input) FileProvider.readFrom(Class<File> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) FormUrlEncodedProvider.readFrom(Class<MultivaluedMap> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) IIOImageProvider.readFrom(Class<IIOImage> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Read a type from theInputStream.InputStreamProvider.readFrom(Class<InputStream> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JaxrsFormProvider.readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JaxrsServerFormUrlEncodedProvider.readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) ReaderProvider.readFrom(Class<Reader> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) ServerFormUrlEncodedProvider.readFrom(Class<MultivaluedMap> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) SourceProvider.readFrom(Class<Source> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) StringTextStar.readFrom(Class<String> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) static StringProviderHelper.readString(InputStream in, MediaType mediaType) static voidIIOImageProviderHelper.writeImage(Annotation[] annotations, MediaType mediaType, ImageWriter writer, OutputStream out, IIOImage image) FIXME Comment thisvoidAsyncStreamingOutputProvider.writeTo(AsyncStreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidByteArrayProvider.writeTo(byte[] bytes, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidDataSourceProvider.writeTo(DataSource dataSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Write a type to an HTTP message.voidDefaultBooleanWriter.writeTo(Boolean t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidDefaultNumberWriter.writeTo(Number n, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidDefaultTextPlain.writeTo(Object o, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, OutputStream entityStream) voidDocumentProvider.writeTo(Document document, Class<?> clazz, Type type, Annotation[] annotation, MediaType mediaType, MultivaluedMap<String, Object> headers, OutputStream output) voidFileProvider.writeTo(File uploadFile, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidFileRangeWriter.writeTo(FileRange fileRange, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidFormUrlEncodedProvider.writeTo(MultivaluedMap data, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidIIOImageProvider.writeTo(IIOImage t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Write a type to an HTTP message.voidInputStreamProvider.writeTo(InputStream inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidJaxrsFormProvider.writeTo(Form form, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidReaderProvider.writeTo(Reader inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidSourceProvider.writeTo(Source source, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidStreamingOutputProvider.writeTo(StreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidStringTextStar.writeTo(String o, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Method parameters in org.jboss.resteasy.plugins.providers with type arguments of type MediaTypeModifier and TypeMethodDescriptionProviderHelper.getAvailableVariants(List<MediaType> mediaTypes) Constructors in org.jboss.resteasy.plugins.providers with parameters of type MediaTypeModifierConstructorDescriptionFileRangeException(MediaType mediaType, File file, long begin, long end) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.atom
Fields in org.jboss.resteasy.plugins.providers.atom declared as MediaTypeMethods in org.jboss.resteasy.plugins.providers.atom that return MediaTypeModifier and TypeMethodDescriptionContent.getType()Mime type of the content.Link.getType()Text.getType()Mime type.Methods in org.jboss.resteasy.plugins.providers.atom with parameters of type MediaTypeModifier and TypeMethodDescriptionprotected JAXBContextFinderprotected JAXBContextFinderlongAtomEntryProvider.getSize(Entry entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longAtomFeedProvider.getSize(Feed feed, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanAtomEntryProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanAtomFeedProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanAtomEntryProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanAtomFeedProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) AtomEntryProvider.readFrom(Class<Entry> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) AtomFeedProvider.readFrom(Class<Feed> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) voidvoidvoidvoidAtomEntryProvider.writeTo(Entry entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidAtomFeedProvider.writeTo(Feed feed, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Constructors in org.jboss.resteasy.plugins.providers.atom with parameters of type MediaType -
Uses of MediaType in org.jboss.resteasy.plugins.providers.jackson
Fields in org.jboss.resteasy.plugins.providers.jackson declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeJackson2JsonpInterceptor.APPLICATION_JAVASCRIPT_MEDIA_TYPE"application/javascript" media type.static final MediaTypeJackson2JsonpInterceptor.APPLICATION_PLUS_JSON_TYPE"application/*+json" media type.static final MediaTypeJackson2JsonpInterceptor.TEXT_JAVASCRIPT_MEDIA_TYPE"text/javascript" media type.static final MediaTypeJackson2JsonpInterceptor.TEXT_JSON_TYPE"text/json" media type.Methods in org.jboss.resteasy.plugins.providers.jackson with parameters of type MediaTypeModifier and TypeMethodDescriptionprotected ObjectMapperResteasyJackson2Provider._locateMapperViaProvider(Class<?> type, MediaType mediaType) protected ObjectMapperJackson2JsonpInterceptor.getObjectMapper(Class<?> type, MediaType mediaType) Search for anObjectMapperfor the given class and mediaTypebooleanResteasyJackson2Provider.isReadable(Class<?> aClass, Type type, Annotation[] annotations, MediaType mediaType) booleanResteasyJackson2Provider.isWriteable(Class<?> aClass, Type type, Annotation[] annotations, MediaType mediaType) ResteasyJackson2Provider.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) voidResteasyJackson2Provider.writeTo(Object value, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.jaxb
Methods in org.jboss.resteasy.plugins.providers.jaxb with parameters of type MediaTypeModifier and TypeMethodDescriptionJAXBElementProvider.asyncWriteTo(JAXBElement<?> t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream outputStream) PrettyProcessor.decorate(Marshaller target, Formatted annotation, Class type, Annotation[] annotations, MediaType mediaType) StylesheetProcessor.decorate(Marshaller target, Stylesheet annotation, Class type, Annotation[] annotations, MediaType mediaType) XmlHeaderProcessor.decorate(Marshaller target, XmlHeader annotation, Class type, Annotation[] annotations, MediaType mediaType) static MarshallerAbstractJAXBProvider.decorateMarshaller(Class type, Annotation[] annotations, MediaType mediaType, Marshaller marshaller) static UnmarshallerAbstractJAXBProvider.decorateUnmarshaller(Class type, Annotation[] annotations, MediaType mediaType, Unmarshaller marshaller) JAXBContextFinder.findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) This method creates a JAXBContext from a collection of classes.XmlJAXBContextFinder.findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) JAXBContextFinder.findCachedContext(Class type, MediaType mediaType, Annotation[] parameterAnnotations) This method with find a JAXBContext for one type.XmlJAXBContextFinder.findCachedContext(Class type, MediaType mediaType, Annotation[] parameterAnnotations) JAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) This method will find a JAXBContext from a set of XmlTypes that use an ObjectFactory for creation (i.e. from xjc).XmlJAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) AbstractJAXBProvider.findJAXBContext(Class<?> type, Annotation[] annotations, MediaType mediaType, boolean reader) JAXBXmlSeeAlsoProvider.findJAXBContext(Class<?> type, Annotation[] annotations, MediaType mediaType, boolean reader) AbstractJAXBContextFinder.findProvidedJAXBContext(Class<?> type, MediaType mediaType) static StringAbstractJAXBProvider.getCharset(MediaType mediaType) Gets the character set from media type.static StringCollectionProvider.getCharset(MediaType mediaType) static StringMapProvider.getCharset(MediaType mediaType) protected JAXBContextFinderprotected JAXBContextFinderCollectionProvider.getJAXBObject(JAXBContextFinder finder, MediaType mediaType, Class<?> clazz, Element element) MapProvider.getJAXBObject(JAXBContextFinder finder, MediaType mediaType, Class<?> clazz, Element element) protected MarshallerAbstractJAXBProvider.getMarshaller(Class<?> type, Annotation[] annotations, MediaType mediaType) Retrieve JAXB marshaller.longCollectionProvider.getSize(Object entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longMapProvider.getSize(Object entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) static booleanIgnoredMediaTypes.ignored(Class<?> type, Annotation[] annotations, MediaType mediaType) booleanAbstractJAXBProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanCollectionProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMapProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected abstract booleanAbstractJAXBProvider.isReadWritable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanJAXBElementProvider.isReadWritable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanJAXBXmlRootElementProvider.isReadWritable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanJAXBXmlSeeAlsoProvider.isReadWritable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanJAXBXmlTypeProvider.isReadWritable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanCollectionProvider.isWrapped(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanMapProvider.isWrapped(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanAbstractJAXBProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanCollectionProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMapProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) AbstractJAXBProvider.readFrom(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) CollectionProvider.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JAXBElement<?>JAXBElementProvider.readFrom(Class<JAXBElement<?>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JAXBXmlTypeProvider.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MapProvider.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) static voidAbstractJAXBProvider.setCharset(MediaType mediaType, Marshaller marshaller) voidAbstractJAXBProvider.writeTo(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream outputStream) voidCollectionProvider.writeTo(Object entry, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidJAXBElementProvider.writeTo(JAXBElement<?> t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream outputStream) voidJAXBXmlTypeProvider.writeTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMapProvider.writeTo(Object target, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.jaxb.i18n
Methods in org.jboss.resteasy.plugins.providers.jaxb.i18n with parameters of type MediaTypeModifier and TypeMethodDescriptionfinal StringMessages_$bundle.couldNotFindJAXBContextFinder(MediaType mediaType) Messages.couldNotFindJAXBContextFinder(MediaType mediaType) final StringMessages_$bundle.couldNotFindUsersJAXBContext(MediaType mediaType) Messages.couldNotFindUsersJAXBContext(MediaType mediaType) final StringMessages_$bundle.unableToFindJAXBContext(MediaType mediaType) Messages.unableToFindJAXBContext(MediaType mediaType) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.jsonp
Methods in org.jboss.resteasy.plugins.providers.jsonp with parameters of type MediaTypeModifier and TypeMethodDescriptionprotected JsonReaderAbstractJsonpProvider.findReader(MediaType mediaType, InputStream is) protected JsonWriterAbstractJsonpProvider.findWriter(MediaType mediaType, OutputStream os) static CharsetAbstractJsonpProvider.getCharset(MediaType mediaType) longJsonArrayProvider.getSize(JsonArray jsonValues, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longJsonObjectProvider.getSize(JsonObject jsonObject, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longJsonStructureProvider.getSize(JsonStructure jsonStructure, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longJsonValueProvider.getSize(JsonValue jsonStructure, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonArrayProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonObjectProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonStructureProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonValueProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonArrayProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonObjectProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonStructureProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanJsonValueProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) JsonArrayProvider.readFrom(Class<JsonArray> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JsonObjectProvider.readFrom(Class<JsonObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JsonStructureProvider.readFrom(Class<JsonStructure> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) JsonValueProvider.readFrom(Class<JsonValue> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) voidJsonArrayProvider.writeTo(JsonArray jsonValues, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidJsonObjectProvider.writeTo(JsonObject jsonObject, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidJsonStructureProvider.writeTo(JsonStructure jsonStructure, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidJsonValueProvider.writeTo(JsonValue jsonValue, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.multipart
Fields in org.jboss.resteasy.plugins.providers.multipart declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeMultipartConstants.APPLICATION_XOP_XML_TYPE"application/xop+xml"protected MediaTypeMultipartInputImpl.contentTypeprotected MediaTypeMultipartInputImpl.defaultPartContentTypestatic final MediaTypeMultipartConstants.MULTIPART_MIXED_TYPE"multipart/mixed"static final MediaTypeMultipartConstants.MULTIPART_RELATED_TYPE"multipart/related"static final MediaTypeMultipartConstants.TEXT_PLAIN_WITH_CHARSET_ISO_8859_1_TYPEDefault fallback of the HTTP 1.1 protocol.static final MediaTypeMultipartConstants.TEXT_PLAIN_WITH_CHARSET_US_ASCII_TYPEDefault fallback of MIME messagesMethods in org.jboss.resteasy.plugins.providers.multipart that return MediaTypeModifier and TypeMethodDescriptionInputPart.getMediaType()MultipartInputImpl.PartImpl.getMediaType()OutputPart.getMediaType()Methods in org.jboss.resteasy.plugins.providers.multipart with parameters of type MediaTypeModifier and TypeMethodDescriptionMultipartFormDataOutput.addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType) MultipartFormDataOutput.addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType, String filename) MultipartFormDataOutput.addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType, String filename, boolean utf8Encode) MultipartFormDataOutput.addFormData(String key, Object entity, MediaType mediaType) MultipartFormDataOutput.addFormData(String key, Object entity, MediaType mediaType, String filename) MultipartFormDataOutput.addFormData(String key, Object entity, MediaType mediaType, String filename, boolean utf8Encode) MultipartFormDataOutput.addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType) MultipartFormDataOutput.addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename) MultipartFormDataOutput.addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename, boolean utf8Encode) MultipartOutput.addPart(Object entity, GenericType<?> type, MediaType mediaType) MultipartOutput.addPart(Object entity, GenericType<?> type, MediaType mediaType, String filename) MultipartOutput.addPart(Object entity, GenericType<?> type, MediaType mediaType, String filename, boolean utf8Encode) MultipartOutput.addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename) MultipartOutput.addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename, boolean utf8Encode) MultipartRelatedOutput.addPart(Object entity, MediaType mediaType, String contentId, String contentTransferEncoding) Used to add parts to the multipart output message.protected CompletionStage<Void>AbstractMultipartWriter.asyncWrite(MultipartOutput multipartOutput, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) Deprecated.protected CompletionStage<Void>AbstractMultipartWriter.asyncWrite(MultipartOutput multipartOutput, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream, Annotation[] annotations) protected CompletionStage<Void>AbstractMultipartRelatedWriter.asyncWriteRelated(MultipartRelatedOutput multipartRelatedOutput, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream, Annotation[] annotations) ListMultipartWriter.asyncWriteTo(List<Object> list, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MapMultipartFormDataWriter.asyncWriteTo(Map<String, Object> map, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MimeMultipartProvider.asyncWriteTo(MimeMultipart mimeMultipart, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MultipartEntityPartWriter.asyncWriteTo(List<EntityPart> entityParts, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MultipartFormAnnotationWriter.asyncWriteTo(Object obj, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MultipartFormDataWriter.asyncWriteTo(MultipartFormDataOutput multipartFormDataOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MultipartRelatedWriter.asyncWriteTo(MultipartRelatedOutput multipartRelatedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) MultipartWriter.asyncWriteTo(MultipartOutput multipartOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) XopWithMultipartRelatedWriter.asyncWriteTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) protected StringMultipartInputImpl.getCharset(MediaType mediaType) longListMultipartWriter.getSize(List<Object> list, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longMapMultipartFormDataWriter.getSize(Map<String, Object> map, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longMultipartFormAnnotationWriter.getSize(Object o, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longMultipartFormDataWriter.getSize(MultipartFormDataOutput multipartFormDataOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longMultipartRelatedWriter.getSize(MultipartRelatedOutput multipartRelatedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longMultipartWriter.getSize(MultipartOutput multipartOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) longXopWithMultipartRelatedWriter.getSize(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanListMultipartReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMapMultipartFormDataReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMimeMultipartProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyReader can produce an instance of a particular type.booleanMultipartEntityPartReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartFormAnnotationReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartFormDataReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartRelatedReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanXopWithMultipartRelatedReader.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) protected booleanXopWithMultipartRelatedJAXBProvider.isReadWritable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanListMultipartWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMapMultipartFormDataWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMimeMultipartProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Ascertain if the MessageBodyWriter supports a particular type.booleanMultipartEntityPartWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartFormAnnotationWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartFormDataWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartRelatedWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanMultipartWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanXopWithMultipartRelatedWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) static DataSourceMimeMultipartProvider.readDataSource(InputStream in, MediaType mediaType) List<?>ListMultipartReader.readFrom(Class<List<?>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Map<?,?> MapMultipartFormDataReader.readFrom(Class<Map<?, ?>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MimeMultipartProvider.readFrom(Class<MimeMultipart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Read a type from theInputStream.MultipartEntityPartReader.readFrom(Class<List<EntityPart>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartFormAnnotationReader.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartFormDataReader.readFrom(Class<MultipartFormDataInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartReader.readFrom(Class<MultipartInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) MultipartRelatedReader.readFrom(Class<MultipartRelatedInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) XopWithMultipartRelatedJAXBProvider.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream, MultipartRelatedInput xopPackage) XopWithMultipartRelatedReader.readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) voidInputPart.setMediaType(MediaType mediaType) Change the media type of the body part before you extract it.voidMultipartInputImpl.PartImpl.setMediaType(MediaType mediaType) protected voidAbstractMultipartWriter.write(MultipartOutput multipartOutput, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) protected voidAbstractMultipartWriter.write(MultipartOutput multipartOutput, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, Annotation[] annotations) protected voidAbstractMultipartRelatedWriter.writeRelated(MultipartRelatedOutput multipartRelatedOutput, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream, Annotation[] annotations) voidListMultipartWriter.writeTo(List<Object> list, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMapMultipartFormDataWriter.writeTo(Map<String, Object> map, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMimeMultipartProvider.writeTo(MimeMultipart mimeMultipart, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Write a type to an HTTP message.voidMultipartEntityPartWriter.writeTo(List<EntityPart> entityParts, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMultipartFormAnnotationWriter.writeTo(Object obj, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMultipartFormDataWriter.writeTo(MultipartFormDataOutput multipartFormDataOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMultipartRelatedWriter.writeTo(MultipartRelatedOutput multipartRelatedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidMultipartWriter.writeTo(MultipartOutput multipartOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) voidXopWithMultipartRelatedJAXBProvider.writeTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, MultipartRelatedOutput xopPackage) voidXopWithMultipartRelatedWriter.writeTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Constructors in org.jboss.resteasy.plugins.providers.multipart with parameters of type MediaTypeModifierConstructorDescriptionMultipartFormDataInputImpl(MediaType contentType, Providers workers) MultipartInputImpl(MediaType contentType, Providers workers) MultipartInputImpl(MediaType contentType, Providers workers, MediaType defaultPartContentType, String defaultPartCharset) MultipartRelatedInputImpl(MediaType contentType, Providers workers) OutputPart(Object entity, Class<?> type, Type genericType, MediaType mediaType) OutputPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename, boolean utf8Encode) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.multipart.i18n
Methods in org.jboss.resteasy.plugins.providers.multipart.i18n with parameters of type MediaTypeModifier and TypeMethodDescriptionfinal StringMessages_$bundle.unableToFindMessageBodyReader(MediaType mediaType, String type) Messages.unableToFindMessageBodyReader(MediaType mediaType, String type) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.resteasy_atom.i18n
Methods in org.jboss.resteasy.plugins.providers.resteasy_atom.i18n with parameters of type MediaTypeModifier and TypeMethodDescriptionfinal StringMessages_$bundle.unableToFindJAXBContext(MediaType mediaType) Messages.unableToFindJAXBContext(MediaType mediaType) final StringMessages_$bundle.unableToMarshal(MediaType mediaType) Messages.unableToMarshal(MediaType mediaType) final StringMessages_$bundle.unableToUnmarshal(MediaType mediaType) Messages.unableToUnmarshal(MediaType mediaType) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.sse
Fields in org.jboss.resteasy.plugins.providers.sse declared as MediaTypeMethods in org.jboss.resteasy.plugins.providers.sse that return MediaTypeModifier and TypeMethodDescriptionInboundSseEventImpl.getMediaType()OutboundSseEventImpl.getMediaType()Methods in org.jboss.resteasy.plugins.providers.sse with parameters of type MediaTypeModifier and TypeMethodDescriptionSseEventProvider.asyncWriteTo(OutboundSseEvent event, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) longSseEventProvider.getSize(OutboundSseEvent t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) booleanSseEventProvider.isReadable(Class<?> cls, Type type, Annotation[] annotations, MediaType mediaType) booleanSseEventProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) <T> TInboundSseEventImpl.readData(GenericType<T> type, MediaType mediaType) <T> TSseEventProvider.readFrom(Class<SseEventInputImpl> cls, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) voidOutboundSseEventImpl.setMediaType(MediaType mediaType) voidSseEventProvider.writeTo(OutboundSseEvent event, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Constructors in org.jboss.resteasy.plugins.providers.sse with parameters of type MediaTypeModifierConstructorDescriptionSseEventInputImpl(Annotation[] annotations, MediaType streamType, MediaType elementType, MultivaluedMap<String, String> httpHeaders, InputStream inputStream) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.sse.client
Methods in org.jboss.resteasy.plugins.providers.sse.client with parameters of type MediaType -
Uses of MediaType in org.jboss.resteasy.plugins.server.servlet
Methods in org.jboss.resteasy.plugins.server.servlet that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionServletUtil.extractAccepts(MultivaluedMap<String, String> requestHeaders) -
Uses of MediaType in org.jboss.resteasy.plugins.validation
Constructor parameters in org.jboss.resteasy.plugins.validation with type arguments of type MediaTypeModifierConstructorDescriptionResteasyViolationExceptionImpl(Set<? extends ConstraintViolation<?>> constraintViolations, List<MediaType> accept) New constructorResteasyViolationExceptionImpl(SimpleViolationsContainer container, List<MediaType> accept) New constructor -
Uses of MediaType in org.jboss.resteasy.resteasy_jaxrs.i18n
Methods in org.jboss.resteasy.resteasy_jaxrs.i18n with parameters of type MediaTypeModifier and TypeMethodDescriptionfinal StringMessages_$bundle.clientResponseFailureMediaType(MediaType mediaType, Type type) Messages.clientResponseFailureMediaType(MediaType mediaType, Type type) final StringMessages_$bundle.couldNotFindMessageBodyReader(Type type, MediaType mediaType) Messages.couldNotFindMessageBodyReader(Type type, MediaType mediaType) final StringMessages_$bundle.couldNotFindWriterForContentType(MediaType mediaType, String className) Messages.couldNotFindWriterForContentType(MediaType mediaType, String className) final StringMessages_$bundle.couldNotReadType(Type type, MediaType mediaType) Messages.couldNotReadType(Type type, MediaType mediaType) final voidLogMessages_$logger.mediaTypeLacksCharset(MediaType mediaType, String method) voidLogMessages.mediaTypeLacksCharset(MediaType mediaType, String method) final StringMessages_$bundle.mediaTypeQMustBeFloat(MediaType mediaType) Messages.mediaTypeQMustBeFloat(MediaType mediaType) final voidLogMessages_$logger.readerNotFound(MediaType mediaType, String[] availableTypes) voidLogMessages.readerNotFound(MediaType mediaType, String[] availableTypes) -
Uses of MediaType in org.jboss.resteasy.specimpl
Methods in org.jboss.resteasy.specimpl that return MediaTypeModifier and TypeMethodDescriptionAbstractBuiltResponse.getMediaType()ResteasyHttpHeaders.getMediaType()Methods in org.jboss.resteasy.specimpl that return types with arguments of type MediaTypeMethods in org.jboss.resteasy.specimpl with parameters of type MediaTypeModifier and TypeMethodDescriptionVariantListBuilderImpl.mediaTypes(MediaType... mediaTypes) protected <T> ObjectBuiltResponse.readFrom(Class<T> type, Type genericType, MediaType media, Annotation[] annotations) -
Uses of MediaType in org.jboss.resteasy.spi
Methods in org.jboss.resteasy.spi that return MediaTypeModifier and TypeMethodDescriptionabstract MediaTypeResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) Methods in org.jboss.resteasy.spi with parameters of type MediaTypeModifier and TypeMethodDescriptionAsyncMessageBodyWriter.asyncWriteTo(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, AsyncOutputStream entityStream) Write a type to an HTTP message using async IO.DecoratorProcessor.decorate(T target, A annotation, Class type, Annotation[] annotations, MediaType mediaType) abstract <T> MessageBodyReader<T>ResteasyProviderFactory.getClientMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) abstract <T> MessageBodyWriter<T>ResteasyProviderFactory.getClientMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) abstract MediaTypeResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) abstract List<ContextResolver>ResteasyProviderFactory.getContextResolvers(Class<?> clazz, MediaType type) abstract Map<MessageBodyWriter<?>,Class<?>> ResteasyProviderFactory.getPossibleMessageBodyWritersMap(Class type, Type genericType, Annotation[] annotations, MediaType accept) abstract <T> MessageBodyReader<T>ResteasyProviderFactory.getServerMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated.abstract <T> MessageBodyWriter<T>ResteasyProviderFactory.getServerMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated. -
Uses of MediaType in org.jboss.resteasy.spi.metadata
Fields in org.jboss.resteasy.spi.metadata declared as MediaTypeModifier and TypeFieldDescriptionprotected MediaType[]DefaultResourceMethod.consumesprotected MediaType[]DefaultResourceMethod.producesMethods in org.jboss.resteasy.spi.metadata that return MediaTypeModifier and TypeMethodDescriptionDefaultResourceMethod.getConsumes()ResourceMethod.getConsumes()DefaultResourceMethod.getProduces()ResourceMethod.getProduces()protected MediaType[]ResourceBuilder.ResourceMethodBuilder.parseMediaTypes(String[] produces) Methods in org.jboss.resteasy.spi.metadata with parameters of type MediaTypeModifier and TypeMethodDescription -
Uses of MediaType in org.jboss.resteasy.util
Subclasses of MediaType in org.jboss.resteasy.utilMethods in org.jboss.resteasy.util that return MediaTypeModifier and TypeMethodDescriptionstatic MediaTypeMediaTypeHelper.getBestMatch(List<MediaType> desired, List<MediaType> provided) static MediaTypeMediaTypeHelper.getConsumes(Class declaring, AccessibleObject method) static MediaType[]MediaTypeHelper.getProduces(Class declaring, Method method) static MediaType[]MediaTypeHelper.getProduces(Class declaring, Method method, MediaType defaultProduces) Methods in org.jboss.resteasy.util that return types with arguments of type MediaTypeMethods in org.jboss.resteasy.util with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic intMediaTypeHelper.compareWeight(MediaType one, MediaType two) static booleanMediaTypeHelper.equivalent(MediaType m1, MediaType m2) static booleanMediaTypeHelper.equivalentParams(MediaType m1, MediaType m2) static MediaType[]MediaTypeHelper.getProduces(Class declaring, Method method, MediaType defaultProduces) static floatstatic floatMediaTypeHelper.getQWithParamInfo(MediaType type) static booleanMediaTypeHelper.isBlacklisted(MediaType mediaType) booleanWeightedMediaType.isCompatible(MediaType other) Non-equal properties should not be compatiblestatic booleanMediaTypeHelper.isTextLike(MediaType mediaType) static WeightedMediaTypestatic booleanMediaTypeHelper.sameWeight(MediaType one, MediaType two) Method parameters in org.jboss.resteasy.util with type arguments of type MediaTypeModifier and TypeMethodDescriptionstatic MediaTypeMediaTypeHelper.getBestMatch(List<MediaType> desired, List<MediaType> provided) static voidMediaTypeHelper.sortByWeight(List<MediaType> types)
AbstractMultipartWriter.asyncWrite(MultipartOutput, MediaType, MultivaluedMap, AsyncOutputStream, Annotation[])