Package org.glassfish.jersey.message.internal
Common Jersey internal messaging classes.
-
Interface Summary Interface Description CompletableReader<T> AMessageBodyReadermay implement this interface to signal that reading from the underlying input stream can be fully completed.OutboundMessageContext.StreamProvider The callback interface which is used to get the terminal output stream into which the entity should be written and to inform the implementation about the entity size.Qualified Quality factor for acceptable header types represented as a "parts per thousand" (i.e.TracingLogger.Event Type of event. -
Class Summary Class Description AbstractFormProvider<T> Abstract base class for form entity types marshalling & un-marshalling support.AbstractMessageReaderWriterProvider<T> Abstract entity provider (reader and writer) base class.AcceptableLanguageTag An acceptable language tag.AcceptableMediaType An acceptable media type.AcceptableToken An acceptable token.ByteArrayProvider Default Jersey byte array entity provider (reader and writer).CacheControlProvider Cache-Controlheader delegate provider.CommittingOutputStream A committing output stream with optional serialized entity buffering functionality which allows measuring of the entity size.CookieProvider RequestCookieheader delegate provider.CookiesParser Cookies parser.DataSourceProvider Provider for marshalling/un-marshalling ofapplication/octet-streamentity type to/from aDataSourceinstance.DataSourceProvider.ByteArrayDataSource Modified from javax.mail.util.ByteArrayDataSource A DataSource backed by a byte array.DateProvider Dateheader delegate provider.EntityInputStream Entity input stream customized for entity message processing: containsEntityInputStream.isEmpty()method.EntityInputStream.close()method throws Jersey-specific runtime exception in case of an IO error.EntityTagProvider ETagheader delegate provider.FileProvider Provider for marshalling/un-marshalling ofapplication/octet-streamentity type to/from aFileinstance.FormMultivaluedMapProvider Provider for marshalling/un-marshalling ofapplication/x-www-form-urlencodedentity type to/frommulti-valued mapinstance.FormProvider Provider for marshalling/un-marshalling ofapplication/x-www-form-urlencodedentity type to/fromJAX-RS Forminstance.HeaderUtils Utility class supporting the processing of message headers.HttpDateFormat Helper class for HTTP specified date formats.HttpHeaderReader An abstract pull-based reader of HTTP headers.InboundMessageContext Base inbound message context implementation.InputStreamProvider JerseyLink Jersey implementation ofJAX-RS Linkcontract.JerseyLink.Builder Jersey implementation ofJAX-RS Link.Buildercontract.LanguageTag A language tag.LinkProvider Provider for Link Headers.LocaleProvider Localeheader delegate provider.MatchingEntityTag A matching entity tag.MediaTypeProvider Header delegate provider for MediaType.MediaTypes Common media types and functionality.MessageBodyFactory A factory for managingMessageBodyReader,MessageBodyWriterinstances.MessageBodyFactory.MessageBodyWorkersConfigurator Configurator which initializes and registerMessageBodyWorkersinstance intoInjectionManagerandBootstrapBag.MessagingBinders Binding definitions for the default set of message related providers (readers, writers, header delegates).MessagingBinders.HeaderDelegateProviders Header delegate provider injection binder.MessagingBinders.MessageBodyProviders Message body providers injection binder.NewCookieProvider ResponseSet-Cookieheader delegate provider.NullOutputStream A"dev/null"output stream - an output stream implementation that discards all the data written to it.OutboundJaxrsResponse An outbound JAX-RS response message.OutboundJaxrsResponse.Builder Outbound JAX-RSResponse.ResponseBuilderimplementation.OutboundMessageContext Base outbound message context implementation.ParameterizedHeader A general parameterized header.Quality Quality parameter constants.QualitySourceMediaType A quality source media type.ReaderInterceptorExecutor Represents reader interceptor chain executor for both client and server side.ReaderProvider ReaderWriter A utility class for reading and writing using byte and character streams.RenderedImageProvider SourceProvider Collection ofXML sourceproviders.SourceProvider.DomSourceReader Provider for marshalling/un-marshallingDOMSourceinstances.SourceProvider.SaxSourceReader Provider for un-marshallingSAXSourceinstances.SourceProvider.SourceWriter Provider for marshalingSourceinstances.SourceProvider.StreamSourceReader Provider for un-marshallingStreamSourceinstances.Statuses Factory for producing custom JAX-RSresponse status typeinstances.StreamingOutputProvider Message body writer that supportsstreaming outputmarshalling.StringBuilderUtils Internalstring builderutilities for building HTTP header values.StringHeaderProvider Stringheader delegate provider.Token A token.TracingAwarePropertiesDelegate Delegating properties delegate backed by anotherPropertiesDelegatewith implemented "cache" or direct reference to tracing support related classes (e.g.TracingLogger Low level Tracing support API.UriProvider Utils Utility class.VariantListBuilder An implementation ofVariantListBuilder.VariantSelector Utility for selecting variant that best matches request from a list of variants.WriterInterceptorExecutor Represents writer interceptor chain executor for both client and server side. -
Enum Summary Enum Description HeaderValueException.Context Context that contains header problems causing this exception (e.g.HttpHeaderReader.Event TODO javadoc.MsgTraceEvent Common tracing events.TracingLogger.Level Level of tracing message. -
Exception Summary Exception Description HeaderValueException Processing exceptionindicating that an attempt to read a value of a header failed.MessageBodyProcessingException Jersey exception signaling that error occurred during reading or writing message body (entity).MessageBodyProviderNotFoundException Jersey processing exception signaling that no appropriate MessageBodyReader or MessageBodyWriter was found.