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.HttpHeaderReader.ListElementCreator<T> 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.VariantSelector.DimensionChecker<T,U> Interface to get a dimension value from a variant and check if an acceptable dimension value is compatible with a dimension value. -
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.BasicTypesMessageProvider The basic types message body provider forMediaType.TEXT_PLAINmedia type.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.CookiesParser.MutableCookie CookiesParser.MutableNewCookie 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.DataSourceProvider.ByteArrayDataSource.DSByteArrayOutputStream 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.GrammarUtil Class containing static utility methods to work with HTTP headers.HeaderUtils Utility class supporting the processing of message headers.HttpDateFormat Helper class for HTTP specified date formats.HttpHeaderListAdapter Wrapping adapter forHttpHeaderReaderthat adds ability to read headers containing comma-separated value lists.HttpHeaderReader An abstract pull-based reader of HTTP headers.HttpHeaderReaderImpl Concrete internal implementation of pull-based HTTP reader.InboundMessageContext Base inbound message context implementation.InboundMessageContext.EntityContent Input stream and its state.InputStreamProvider InterceptorExecutor<T> Abstract class with implementation ofInterceptorContextwhich is common forReaderInterceptorContextandWriterInterceptorContextimplementations.InterceptorExecutor.InterceptorTimestampPair<T> Holder of interceptor instance and timestamp of the interceptor invocation (in ns).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.DeclarationDistanceComparator<T> Compares 2 instances implementing/inheriting the same super-type and returns which of the two instances has the super-type declaration closer in it's inheritance hierarchy tree.MessageBodyFactory.LegacyWorkerComparator<T> AbstractEntityProviderModelcomparator which works as it is described in JAX-RS 1.x specification.MessageBodyFactory.MessageBodyWorkersConfigurator Configurator which initializes and registerMessageBodyWorkersinstance intoInjectionManagerandBootstrapBag.MessageBodyFactory.ModelLookupKey MessageBodyFactory.WorkerComparator<T> AbstractEntityProviderModelcomparator which works as it is described in JAX-RS 2.x specification.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.ReaderInterceptorExecutor.UnCloseableInputStream MessageBodyReaders should not close the givenstream.ReaderProvider ReaderWriter A utility class for reading and writing using byte and character streams.RenderedImageProvider Provider for marshalling/un-marshalling of graphical image data represented asimage/*, application/x-www-form-urlencodedentity types torenderedand fromrenderedorbufferedimage instance.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.Statuses.StatusImpl StreamingOutputProvider Message body writer that supportsstreaming outputmarshalling.StringBuilderUtils Internalstring builderutilities for building HTTP header values.StringHeaderProvider Stringheader delegate provider.StringMessageProvider Token A token.TracingAwarePropertiesDelegate Delegating properties delegate backed by anotherPropertiesDelegatewith implemented "cache" or direct reference to tracing support related classes (e.g.TracingInfo Collects tracing messages for a request.TracingInfo.Message A trace message.TracingLogger Low level Tracing support API.TracingLogger.TracingLoggerImpl Real implementation of tracing logger.UriProvider Utils Utility class.VariantListBuilder An implementation ofVariantListBuilder.VariantSelector Utility for selecting variant that best matches request from a list of variants.VariantSelector.VariantHolder WriterInterceptorExecutor Represents writer interceptor chain executor for both client and server side.WriterInterceptorExecutor.UnCloseableOutputStream MessageBodyWriters should not close the givenstream. -
Enum Summary Enum Description BasicTypesMessageProvider.PrimitiveTypes 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.