Uses of Class
jakarta.ws.rs.core.MediaType
-
-
Uses of MediaType in com.fasterxml.jackson.jakarta.rs.base
Methods in com.fasterxml.jackson.jakarta.rs.base with parameters of type MediaType Modifier and Type Method Description protected 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.MAPPERProviderBase. locateMapper(Class<?> type, MediaType mediaType)Method called to locateObjectMapperto use for serialization and deserialization.ObjectProviderBase. 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 MediaType Modifier and Type Method Description protected 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 MediaType Modifier and Type Method Description MediaTypeClientRequestContext. getMediaType()Get the media type of the entity.MediaTypeClientResponseContext. getMediaType()Get the media type of the entity.MediaTypeEntity. getMediaType()Get entity media type.Methods in jakarta.ws.rs.client that return types with arguments of type MediaType Modifier and Type Method Description List<MediaType>ClientRequestContext. getAcceptableMediaTypes()Get a list of media types that are acceptable for the response.Methods in jakarta.ws.rs.client with parameters of type MediaType Modifier and Type Method Description Invocation.BuilderInvocation.Builder. accept(MediaType... mediaTypes)Add the accepted response media types.static <T> Entity<T>Entity. entity(T entity, MediaType mediaType)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.Invocation.BuilderWebTarget. request(MediaType... acceptedResponseTypes)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 MediaType Modifier and Type Method Description MediaTypeContainerRequestContext. getMediaType()Get the media type of the entity.MediaTypeContainerResponseContext. getMediaType()Get the media type of the entity.Methods in jakarta.ws.rs.container that return types with arguments of type MediaType Modifier and Type Method Description List<MediaType>ContainerRequestContext. getAcceptableMediaTypes()Get a list of media types that are acceptable for the response.Methods in jakarta.ws.rs.container with parameters of type MediaType Modifier and Type Method Description voidContainerResponseContext. 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
Methods in jakarta.ws.rs.core that return MediaType Modifier and Type Method Description MediaTypeEntityPart. getMediaType()Returns the content type of this part, and equivalent to callingMediaType.valueOf(part.getHeaders().getFirst(HttpHeaders.CONTENT_TYPE)).MediaTypeHttpHeaders. getMediaType()Get the media type of the request entity.abstract MediaTypeResponse. getMediaType()Get the media type of the message entity.MediaTypeVariant. getMediaType()Get the media type of the variant.static MediaTypeMediaType. valueOf(String type)Creates a new instance ofMediaTypeby parsing the supplied string.MediaTypeMediaType. 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 MediaType Modifier and Type Method Description List<MediaType>HttpHeaders. getAcceptableMediaTypes()Get a list of media types that are acceptable for the response.Methods in jakarta.ws.rs.core with parameters of type MediaType Modifier and Type Method Description booleanMediaType. isCompatible(MediaType other)Check if this media type is compatible with another media type.EntityPart.BuilderEntityPart.Builder. mediaType(MediaType mediaType)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.ResponseBuilderResponse. ok(Object entity, MediaType type)Create a new ResponseBuilder that contains a representation.abstract Response.ResponseBuilderResponse.ResponseBuilder. type(MediaType type)Set the message entity media type.Constructors in jakarta.ws.rs.core with parameters of type MediaType Constructor Description Variant(MediaType mediaType, String language, String encoding)Create a new instance of Variant.Variant(MediaType mediaType, String language, String country, String encoding)Create a new instance of Variant.Variant(MediaType mediaType, String language, String country, String languageVariant, String encoding)Create a new instance of Variant.Variant(MediaType mediaType, Locale language, String encoding)Create a new instance of Variant. -
Uses of MediaType in jakarta.ws.rs.ext
Methods in jakarta.ws.rs.ext that return MediaType Modifier and Type Method Description MediaTypeInterceptorContext. getMediaType()Get media type of HTTP entity.Methods in jakarta.ws.rs.ext with parameters of type MediaType Modifier and Type Method Description <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.TMessageBodyReader. 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 MediaType Modifier and Type Method Description MediaTypeOutboundSseEvent. getMediaType()Getmedia typeof the event data.Methods in jakarta.ws.rs.sse with parameters of type MediaType Modifier and Type Method Description OutboundSseEvent.BuilderOutboundSseEvent.Builder. mediaType(MediaType mediaType)Set themedia typeof the event data.<T> TInboundSseEvent. readData(GenericType<T> type, MediaType mediaType)Read event data as a given generic type.<T> TInboundSseEvent. readData(Class<T> messageType, MediaType mediaType)Read 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 MediaType Modifier and Type Method Description List<MediaType>ResteasyViolationException. getAccept()protected static List<MediaType>ResteasyViolationException. toMediaTypeList(List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType> cloneableList)Method parameters in org.jboss.resteasy.api.validation with type arguments of type MediaType Modifier and Type Method Description voidResteasyViolationException. setAccept(List<MediaType> accept)protected 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 MediaType Constructor Description ResteasyViolationException(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 MediaType Modifier and Type Method Description MediaTypeProxyConfig. getDefaultConsumes()MediaTypeProxyConfig. getDefaultProduces()Methods in org.jboss.resteasy.client.jaxrs with parameters of type MediaType Modifier and Type Method Description abstract ProxyBuilder<T>ProxyBuilder. defaultConsumes(MediaType type)abstract ProxyBuilder<T>ProxyBuilder. defaultProduces(MediaType type)Constructors in org.jboss.resteasy.client.jaxrs with parameters of type MediaType Constructor Description ProxyConfig(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 MediaType Modifier and Type Method Description MediaTypeBrowserCache.Entry. getMediaType()MediaTypeCacheEntry. getMediaType()Methods in org.jboss.resteasy.client.jaxrs.cache with parameters of type MediaType Modifier and Type Method Description BrowserCache.EntryBrowserCache. get(String key, MediaType accept)BrowserCache.EntryLightweightBrowserCache. get(String key, MediaType accept)BrowserCache.EntryMapCache. get(String key, MediaType accept)BrowserCache.EntryMapCache. getEntry(String key, MediaType accept)BrowserCache.EntryBrowserCache. put(String key, MediaType mediaType, MultivaluedMap<String,String> headers, byte[] cached, int expires, String etag, String lastModified)BrowserCache.EntryLightweightBrowserCache. put(String key, MediaType mediaType, MultivaluedMap<String,String> headers, byte[] cached, int expires, String etag, String lastModified)BrowserCache.EntryMapCache. put(String key, MediaType mediaType, MultivaluedMap<String,String> headers, byte[] cached, int expires, String etag, String lastModified)BrowserCache.EntryBrowserCache. remove(String key, MediaType type)BrowserCache.EntryLightweightBrowserCache. remove(String key, MediaType type)BrowserCache.EntryMapCache. remove(String key, MediaType type)Constructors in org.jboss.resteasy.client.jaxrs.cache with parameters of type MediaType Constructor Description CacheEntry(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 MediaType Modifier and Type Method Description StringMessages_$bundle. failedToBufferAbortedResponseNoWriter(MediaType mediaType, String className)StringMessages. 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 MediaType Modifier and Type Method Description MediaTypeClientRequestContextImpl. getMediaType()MediaTypeClientRequestHeaders. getMediaType()MediaTypeClientResponseContextImpl. getMediaType()Methods in org.jboss.resteasy.client.jaxrs.internal that return types with arguments of type MediaType Modifier and Type Method Description List<MediaType>ClientRequestContextImpl. getAcceptableMediaTypes()List<MediaType>ClientRequestHeaders. getAcceptableMediaTypes()Methods in org.jboss.resteasy.client.jaxrs.internal with parameters of type MediaType Modifier and Type Method Description Invocation.BuilderClientInvocationBuilder. accept(MediaType... mediaTypes)voidClientRequestHeaders. accept(MediaType... types)<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)Invocation.BuilderClientWebTarget. request(MediaType... acceptedResponseTypes)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 MediaType Modifier and Type Field Description protected MediaType[]ClientInvoker. acceptsMethods in org.jboss.resteasy.client.jaxrs.internal.proxy that return MediaType Modifier and Type Method Description MediaType[]ClientInvoker. getAccepts()Methods in org.jboss.resteasy.client.jaxrs.internal.proxy with parameters of type MediaType Modifier and Type Method Description ProxyBuilderImpl<T>ProxyBuilderImpl. defaultConsumes(MediaType type)ProxyBuilderImpl<T>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 MediaType Modifier and Type Method Description static 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 MediaType Modifier and Type Method Description MediaTypeMessageBodyParameterProcessor. getMediaType()Constructors in org.jboss.resteasy.client.jaxrs.internal.proxy.processors.invocation with parameters of type MediaType Constructor Description MessageBodyParameterProcessor(MediaType mediaType, Class<?> type, Type genericType, Annotation[] annotations) -
Uses of MediaType in org.jboss.resteasy.core
Methods in org.jboss.resteasy.core that return MediaType Modifier and Type Method Description MediaTypeThreadLocalResteasyProviderFactory. getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)MediaType[]ResourceMethodInvoker. getConsumes()protected static MediaTypeServerResponseWriter. getDefaultContentType(HttpRequest request, BuiltResponse jaxrsResponse, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method)MediaType[]ResourceMethodInvoker. getProduces()static MediaTypeServerResponseWriter. getResponseMediaType(BuiltResponse jaxrsResponse, HttpRequest request, HttpResponse response, ResteasyProviderFactory providerFactory, ResourceMethodInvoker method)MediaTypeResourceMethodInvoker. 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 MediaType Modifier and Type Method Description voidMediaTypeMap. add(MediaType type, T obj)Add 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)MediaTypeThreadLocalResteasyProviderFactory. getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)<T> ContextResolver<T>ThreadLocalResteasyProviderFactory. getContextResolver(Class<T> contextType, MediaType mediaType)List<ContextResolver>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)List<T>MediaTypeMap. getPossible(MediaType accept)Returns a list of objects sorted based on their media type where the first in the list is the best matchList<T>MediaTypeMap. 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 MediaType Modifier and Type Method Description booleanResourceMethodInvoker. 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 Constructor Description NoMessageBodyWriterFoundFailure(Class type, MediaType contentType) -
Uses of MediaType in org.jboss.resteasy.core.interception.jaxrs
Fields in org.jboss.resteasy.core.interception.jaxrs declared as MediaType Modifier and Type Field Description protected MediaTypeAbstractReaderInterceptorContext. mediaTypeprotected MediaTypeAbstractWriterInterceptorContext. mediaTypeMethods in org.jboss.resteasy.core.interception.jaxrs that return MediaType Modifier and Type Method Description MediaTypeAbstractReaderInterceptorContext. getMediaType()MediaTypeAbstractWriterInterceptorContext. getMediaType()MediaTypeContainerResponseContextImpl. getMediaType()MediaTypePreMatchContainerRequestContext. getMediaType()Methods in org.jboss.resteasy.core.interception.jaxrs that return types with arguments of type MediaType Modifier and Type Method Description List<MediaType>PreMatchContainerRequestContext. getAcceptableMediaTypes()Methods in org.jboss.resteasy.core.interception.jaxrs with parameters of type MediaType Modifier and Type Method Description <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) -
Uses of MediaType in org.jboss.resteasy.core.messagebody
Methods in org.jboss.resteasy.core.messagebody with parameters of type MediaType Modifier and Type Method Description default 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.ObjectReaderUtility. 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> TReaderUtility. read(Class<T> type, MediaType mediaType, byte[] buffer)Deprecated.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 MediaType Modifier and Type Method Description MediaTypeResteasyProviderFactoryDelegate. getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)MediaTypeResteasyProviderFactoryImpl. getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)Methods in org.jboss.resteasy.core.providerfactory with parameters of type MediaType Modifier and Type Method Description voidCommonProviders. 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)MediaTypeResteasyProviderFactoryDelegate. getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)MediaTypeResteasyProviderFactoryImpl. 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)List<ContextResolver>ResteasyProviderFactoryDelegate. getContextResolvers(Class<?> clazz, MediaType type)List<ContextResolver>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 MediaType Modifier and Type Field Description MediaTypeMatchCache. chosenMediaTypeMatchCache.Key. contentTypestatic MediaType[]SegmentNode. WILDCARD_ARRAYFields in org.jboss.resteasy.core.registry with type parameters of type MediaType Modifier and Type Field Description List<MediaType>MatchCache.Key. acceptsstatic List<MediaType>SegmentNode. DEFAULT_ACCEPTSMethods in org.jboss.resteasy.core.registry that return MediaType Modifier and Type Method Description MediaTypeSegmentNode.SortEntry. getAcceptType()Methods in org.jboss.resteasy.core.registry with parameters of type MediaType Modifier and Type Method Description static SegmentNode.SortFactorSegmentNode. createSortFactor(MediaType client, MediaType server)Constructors in org.jboss.resteasy.core.registry with parameters of type MediaType Constructor Description SortEntry(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 MediaType Modifier and Type Method Description MediaTypeVariantQuality. getRequestMediaType()Methods in org.jboss.resteasy.core.request that return types with arguments of type MediaType Modifier and Type Method Description static 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 MediaType Modifier and Type Method Description voidVariantQuality. setRequestMediaType(MediaType requestMediaType) -
Uses of MediaType in org.jboss.resteasy.mock
Methods in org.jboss.resteasy.mock with parameters of type MediaType Modifier and Type Method Description MockHttpRequestMockHttpRequest. accept(MediaType accept)MockHttpRequestMockHttpRequest. contentType(MediaType type)Method parameters in org.jboss.resteasy.mock with type arguments of type MediaType Modifier and Type Method Description MockHttpRequestMockHttpRequest. accept(List<MediaType> accepts) -
Uses of MediaType in org.jboss.resteasy.plugins.delegates
Methods in org.jboss.resteasy.plugins.delegates that return MediaType Modifier and Type Method Description MediaTypeMediaTypeHeaderDelegate. fromString(String type)static MediaTypeMediaTypeHeaderDelegate. parse(String type)Methods in org.jboss.resteasy.plugins.delegates with parameters of type MediaType Modifier and Type Method Description StringMediaTypeHeaderDelegate. toString(MediaType type) -
Uses of MediaType in org.jboss.resteasy.plugins.providers
Fields in org.jboss.resteasy.plugins.providers declared as MediaType Modifier and Type Field Description static MediaTypeAbstractPatchMethodFilter. APPLICATION_JSON_MERGE_PATCH_JSON_TYPEMethods in org.jboss.resteasy.plugins.providers that return types with arguments of type MediaType Modifier and Type Method Description static List<MediaType>ProviderHelper. getAvailableMediaTypes(String[] mediaTypes)Methods in org.jboss.resteasy.plugins.providers with parameters of type MediaType Modifier and Type Method Description CompletionStage<Void>AsyncStreamingOutputProvider. asyncWriteTo(AsyncStreamingOutput streamingOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>ByteArrayProvider. asyncWriteTo(byte[] bytes, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>DataSourceProvider. asyncWriteTo(DataSource dataSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>DefaultBooleanWriter. asyncWriteTo(Boolean t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>DefaultNumberWriter. asyncWriteTo(Number n, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>DefaultTextPlain. asyncWriteTo(Object o, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>FileProvider. asyncWriteTo(File uploadFile, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>FileRangeWriter. asyncWriteTo(FileRange fileRange, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>FormUrlEncodedProvider. asyncWriteTo(MultivaluedMap data, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>IIOImageProvider. asyncWriteTo(IIOImage t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>InputStreamProvider. asyncWriteTo(InputStream inputStream, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>JaxrsFormProvider. asyncWriteTo(Form form, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>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)DataSourceDataSourceProvider. readFrom(Class<DataSource> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Read a type from theInputStream.ObjectDefaultTextPlain. readFrom(Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, InputStream entityStream)DocumentDocumentProvider. readFrom(Class<Document> clazz, Type type, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, InputStream input)FileFileProvider. readFrom(Class<File> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultivaluedMapFormUrlEncodedProvider. readFrom(Class<MultivaluedMap> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)IIOImageIIOImageProvider. readFrom(Class<IIOImage> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Read a type from theInputStream.InputStreamInputStreamProvider. readFrom(Class<InputStream> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)FormJaxrsFormProvider. readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)FormJaxrsServerFormUrlEncodedProvider. readFrom(Class<Form> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ReaderReaderProvider. readFrom(Class<Reader> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultivaluedMapServerFormUrlEncodedProvider. readFrom(Class<MultivaluedMap> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)SourceSourceProvider. readFrom(Class<Source> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)StringStringTextStar. 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 MediaType Modifier and Type Method Description static List<Variant>ProviderHelper. getAvailableVariants(List<MediaType> mediaTypes)Constructors in org.jboss.resteasy.plugins.providers with parameters of type MediaType Constructor Description FileRangeException(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 MediaType Modifier and Type Field Description protected MediaTypeLink. typeMethods in org.jboss.resteasy.plugins.providers.atom that return MediaType Modifier and Type Method Description MediaTypeContent. getType()Mime type of the content.MediaTypeLink. getType()MediaTypeText. getType()Mime type.MediaTypeMediaTypeAdapter. unmarshal(String s)Methods in org.jboss.resteasy.plugins.providers.atom with parameters of type MediaType Modifier and Type Method Description protected JAXBContextFinderAtomEntryProvider. getFinder(MediaType type)protected JAXBContextFinderAtomFeedProvider. getFinder(MediaType type)longAtomEntryProvider. 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)StringMediaTypeAdapter. marshal(MediaType mediaType)EntryAtomEntryProvider. readFrom(Class<Entry> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)FeedAtomFeedProvider. readFrom(Class<Feed> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)voidContent. setType(MediaType type)voidLink. setType(MediaType type)voidText. setType(MediaType type)voidAtomEntryProvider. 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 Constructor Description BaseLink(String rel, String relativeLink, MediaType mediaType)Link(String rel, String href, MediaType type)Link(String rel, URI href, MediaType type)RelativeLink(String rel, String relativeLink, MediaType mediaType) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.jackson
Fields in org.jboss.resteasy.plugins.providers.jackson declared as MediaType Modifier and Type Field Description static MediaTypeJackson2JsonpInterceptor. APPLICATION_JAVASCRIPT_MEDIA_TYPE"application/javascript" media type.static MediaTypeJackson2JsonpInterceptor. APPLICATION_PLUS_JSON_TYPE"application/*+json" media type.static MediaTypeJackson2JsonpInterceptor. TEXT_JAVASCRIPT_MEDIA_TYPE"text/javascript" media type.static MediaTypeJackson2JsonpInterceptor. TEXT_JSON_TYPE"text/json" media type.Methods in org.jboss.resteasy.plugins.providers.jackson with parameters of type MediaType Modifier and Type Method Description 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)ObjectResteasyJackson2Provider. 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 MediaType Modifier and Type Method Description CompletionStage<Void>JAXBElementProvider. asyncWriteTo(JAXBElement<?> t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream outputStream)MarshallerPrettyProcessor. decorate(Marshaller target, Formatted annotation, Class type, Annotation[] annotations, MediaType mediaType)MarshallerStylesheetProcessor. decorate(Marshaller target, Stylesheet annotation, Class type, Annotation[] annotations, MediaType mediaType)MarshallerXmlHeaderProcessor. 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)JAXBContextJAXBContextFinder. findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes)This method creates a JAXBContext from a collection of classes.JAXBContextXmlJAXBContextFinder. findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes)JAXBContextJAXBContextFinder. findCachedContext(Class type, MediaType mediaType, Annotation[] parameterAnnotations)This method with find a JAXBContext for one type.JAXBContextXmlJAXBContextFinder. findCachedContext(Class type, MediaType mediaType, Annotation[] parameterAnnotations)JAXBContextJAXBContextFinder. 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.JAXBContextXmlJAXBContextFinder. findCacheXmlTypeContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes)JAXBContextAbstractJAXBProvider. findJAXBContext(Class<?> type, Annotation[] annotations, MediaType mediaType, boolean reader)JAXBContextJAXBXmlSeeAlsoProvider. findJAXBContext(Class<?> type, Annotation[] annotations, MediaType mediaType, boolean reader)JAXBContextAbstractJAXBContextFinder. 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 JAXBContextFinderCollectionProvider. getFinder(MediaType type)protected JAXBContextFinderMapProvider. getFinder(MediaType type)ObjectCollectionProvider. getJAXBObject(JAXBContextFinder finder, MediaType mediaType, Class<?> clazz, Element element)ObjectMapProvider. 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)TAbstractJAXBProvider. readFrom(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectCollectionProvider. 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)ObjectJAXBXmlTypeProvider. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectMapProvider. 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 MediaType Modifier and Type Method Description StringMessages_$bundle. couldNotFindJAXBContextFinder(MediaType mediaType)StringMessages. couldNotFindJAXBContextFinder(MediaType mediaType)StringMessages_$bundle. couldNotFindUsersJAXBContext(MediaType mediaType)StringMessages. couldNotFindUsersJAXBContext(MediaType mediaType)StringMessages_$bundle. unableToFindJAXBContext(MediaType mediaType)StringMessages. 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 MediaType Modifier and Type Method Description protected 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)JsonArrayJsonArrayProvider. readFrom(Class<JsonArray> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)JsonObjectJsonObjectProvider. readFrom(Class<JsonObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)JsonStructureJsonStructureProvider. readFrom(Class<JsonStructure> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)JsonValueJsonValueProvider. 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 MediaType Modifier and Type Field Description static MediaTypeMultipartConstants. APPLICATION_XOP_XML_TYPE"application/xop+xml"protected MediaTypeMultipartInputImpl. contentTypeprotected MediaTypeMultipartInputImpl. defaultPartContentTypestatic MediaTypeMultipartConstants. MULTIPART_MIXED_TYPE"multipart/mixed"static MediaTypeMultipartConstants. MULTIPART_RELATED_TYPE"multipart/related"static MediaTypeMultipartConstants. TEXT_PLAIN_WITH_CHARSET_ISO_8859_1_TYPEDefault fallback of the HTTP 1.1 protocol.static MediaTypeMultipartConstants. TEXT_PLAIN_WITH_CHARSET_US_ASCII_TYPEDefault fallback of MIME messagesMethods in org.jboss.resteasy.plugins.providers.multipart that return MediaType Modifier and Type Method Description MediaTypeInputPart. getMediaType()MediaTypeMultipartInputImpl.PartImpl. getMediaType()MediaTypeOutputPart. getMediaType()Methods in org.jboss.resteasy.plugins.providers.multipart with parameters of type MediaType Modifier and Type Method Description OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType, String filename)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType, String filename, boolean utf8Encode)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, MediaType mediaType)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, MediaType mediaType, String filename)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, MediaType mediaType, String filename, boolean utf8Encode)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename)OutputPartMultipartFormDataOutput. addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename, boolean utf8Encode)OutputPartMultipartOutput. addPart(Object entity, GenericType<?> type, MediaType mediaType)OutputPartMultipartOutput. addPart(Object entity, GenericType<?> type, MediaType mediaType, String filename)OutputPartMultipartOutput. addPart(Object entity, GenericType<?> type, MediaType mediaType, String filename, boolean utf8Encode)OutputPartMultipartOutput. addPart(Object entity, MediaType mediaType)OutputPartMultipartOutput. addPart(Object entity, MediaType mediaType, String filename)OutputPartMultipartOutput. addPart(Object entity, MediaType mediaType, String filename, boolean utf8Encode)OutputPartMultipartOutput. addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType)OutputPartMultipartOutput. addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename)OutputPartMultipartOutput. addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename, boolean utf8Encode)OutputPartMultipartRelatedOutput. 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)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)CompletionStage<Void>ListMultipartWriter. asyncWriteTo(List<Object> list, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MapMultipartFormDataWriter. asyncWriteTo(Map<String,Object> map, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MimeMultipartProvider. asyncWriteTo(MimeMultipart mimeMultipart, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MultipartEntityPartWriter. asyncWriteTo(List<EntityPart> entityParts, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MultipartFormAnnotationWriter. asyncWriteTo(Object obj, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MultipartFormDataWriter. asyncWriteTo(MultipartFormDataOutput multipartFormDataOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MultipartRelatedWriter. asyncWriteTo(MultipartRelatedOutput multipartRelatedOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>MultipartWriter. asyncWriteTo(MultipartOutput multipartOutput, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, AsyncOutputStream entityStream)CompletionStage<Void>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)EntityPart.BuilderResteasyEntityPartBuilder. mediaType(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)MimeMultipartMimeMultipartProvider. readFrom(Class<MimeMultipart> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Read a type from theInputStream.List<EntityPart>MultipartEntityPartReader. readFrom(Class<List<EntityPart>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectMultipartFormAnnotationReader. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultipartFormDataInputMultipartFormDataReader. readFrom(Class<MultipartFormDataInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultipartInputMultipartReader. readFrom(Class<MultipartInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)MultipartRelatedInputMultipartRelatedReader. readFrom(Class<MultipartRelatedInput> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)ObjectXopWithMultipartRelatedJAXBProvider. readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream, MultipartRelatedInput xopPackage)ObjectXopWithMultipartRelatedReader. 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 MediaType Constructor Description MultipartFormDataInputImpl(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)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 MediaType Modifier and Type Method Description StringMessages_$bundle. unableToFindMessageBodyReader(MediaType mediaType, String type)StringMessages. 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 MediaType Modifier and Type Method Description StringMessages_$bundle. unableToFindJAXBContext(MediaType mediaType)StringMessages. unableToFindJAXBContext(MediaType mediaType)StringMessages_$bundle. unableToMarshal(MediaType mediaType)StringMessages. unableToMarshal(MediaType mediaType)StringMessages_$bundle. unableToUnmarshal(MediaType mediaType)StringMessages. unableToUnmarshal(MediaType mediaType) -
Uses of MediaType in org.jboss.resteasy.plugins.providers.sse
Fields in org.jboss.resteasy.plugins.providers.sse declared as MediaType Modifier and Type Field Description static MediaTypeSseEventProvider. GENERAL_STREAM_TYPEMethods in org.jboss.resteasy.plugins.providers.sse that return MediaType Modifier and Type Method Description MediaTypeInboundSseEventImpl. getMediaType()MediaTypeOutboundSseEventImpl. getMediaType()Methods in org.jboss.resteasy.plugins.providers.sse with parameters of type MediaType Modifier and Type Method Description CompletionStage<Void>SseEventProvider. 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)OutboundSseEvent.BuilderOutboundSseEventImpl.BuilderImpl. mediaType(MediaType mediaType)<T> TInboundSseEventImpl. readData(GenericType<T> type, MediaType mediaType)<T> TInboundSseEventImpl. readData(Class<T> messageType, MediaType mediaType)SseEventInputImplSseEventProvider. 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 MediaType Constructor Description SseEventInputImpl(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 Modifier and Type Method Description voidSseEventSourceImpl. open(String lastEventId, String verb, Entity<?> entity, MediaType... mediaTypes) -
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 MediaType Modifier and Type Method Description static List<MediaType>ServletUtil. 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 MediaType Constructor Description ResteasyViolationExceptionImpl(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
-
Uses of MediaType in org.jboss.resteasy.specimpl
Methods in org.jboss.resteasy.specimpl that return MediaType Modifier and Type Method Description MediaTypeAbstractBuiltResponse. getMediaType()MediaTypeResteasyHttpHeaders. getMediaType()Methods in org.jboss.resteasy.specimpl that return types with arguments of type MediaType Modifier and Type Method Description List<MediaType>ResteasyHttpHeaders. getAcceptableMediaTypes()Methods in org.jboss.resteasy.specimpl with parameters of type MediaType Modifier and Type Method Description Variant.VariantListBuilderVariantListBuilderImpl. mediaTypes(MediaType... mediaTypes)protected <T> ObjectBuiltResponse. readFrom(Class<T> type, Type genericType, MediaType media, Annotation[] annotations)Response.ResponseBuilderResponseBuilderImpl. type(MediaType type) -
Uses of MediaType in org.jboss.resteasy.spi
Methods in org.jboss.resteasy.spi that return MediaType Modifier and Type Method Description abstract MediaTypeResteasyProviderFactory. getConcreteMediaTypeFromMessageBodyWriters(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)Methods in org.jboss.resteasy.spi with parameters of type MediaType Modifier and Type Method Description CompletionStage<Void>AsyncMessageBodyWriter. 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.TDecoratorProcessor. 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 MediaType Modifier and Type Field Description protected MediaType[]DefaultResourceMethod. consumesprotected MediaType[]DefaultResourceMethod. producesMethods in org.jboss.resteasy.spi.metadata that return MediaType Modifier and Type Method Description MediaType[]DefaultResourceMethod. getConsumes()MediaType[]ResourceMethod. getConsumes()MediaType[]DefaultResourceMethod. getProduces()MediaType[]ResourceMethod. getProduces()protected MediaType[]ResourceBuilder.ResourceMethodBuilder. parseMediaTypes(String[] produces)Methods in org.jboss.resteasy.spi.metadata with parameters of type MediaType Modifier and Type Method Description ResourceBuilder.ResourceMethodBuilderResourceBuilder.ResourceMethodBuilder. consumes(MediaType... consumes)ResourceBuilder.ResourceMethodBuilderResourceBuilder.ResourceMethodBuilder. produces(MediaType... produces) -
Uses of MediaType in org.jboss.resteasy.util
Subclasses of MediaType in org.jboss.resteasy.util Modifier and Type Class Description classWeightedMediaTypeMethods in org.jboss.resteasy.util that return MediaType Modifier and Type Method Description static 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 MediaType Modifier and Type Method Description static List<MediaType>MediaTypeHelper. parseHeader(String header)Methods in org.jboss.resteasy.util with parameters of type MediaType Modifier and Type Method Description static 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 floatMediaTypeHelper. getQ(MediaType type)static 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 WeightedMediaTypeWeightedMediaType. parse(MediaType tmp)static booleanMediaTypeHelper. sameWeight(MediaType one, MediaType two)Method parameters in org.jboss.resteasy.util with type arguments of type MediaType Modifier and Type Method Description static MediaTypeMediaTypeHelper. getBestMatch(List<MediaType> desired, List<MediaType> provided)static voidMediaTypeHelper. sortByWeight(List<MediaType> types)
-