Package org.glassfish.jersey.message.internal
Common Jersey internal messaging classes.
-
Interface Summary Interface Description CompletableReader<T> AMessageBodyReader
may 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-Control
header delegate provider
.CommittingOutputStream A committing output stream with optional serialized entity buffering functionality which allows measuring of the entity size.CookieProvider RequestCookie
header delegate provider
.CookiesParser Cookies parser.DataSourceProvider Provider for marshalling/un-marshalling ofapplication/octet-stream
entity type to/from aDataSource
instance.DataSourceProvider.ByteArrayDataSource Modified from javax.mail.util.ByteArrayDataSource A DataSource backed by a byte array.DateProvider Date
header 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 ETag
header delegate provider
.FileProvider Provider for marshalling/un-marshalling ofapplication/octet-stream
entity type to/from aFile
instance.FormMultivaluedMapProvider Provider for marshalling/un-marshalling ofapplication/x-www-form-urlencoded
entity type to/frommulti-valued map
instance.FormProvider Provider for marshalling/un-marshalling ofapplication/x-www-form-urlencoded
entity type to/fromJAX-RS Form
instance.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 Link
contract.JerseyLink.Builder Jersey implementation ofJAX-RS Link.Builder
contract.LanguageTag A language tag.LinkProvider Provider for Link Headers.LocaleProvider Locale
header delegate provider
.MatchingEntityTag A matching entity tag.MediaTypeProvider Header delegate provider for MediaType.MediaTypes Common media types and functionality.MessageBodyFactory A factory for managingMessageBodyReader
,MessageBodyWriter
instances.MessageBodyFactory.MessageBodyWorkersConfigurator Configurator which initializes and registerMessageBodyWorkers
instance intoInjectionManager
andBootstrapBag
.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-Cookie
header 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.ResponseBuilder
implementation.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 source
providers.SourceProvider.DomSourceReader Provider for marshalling/un-marshallingDOMSource
instances.SourceProvider.SaxSourceReader Provider for un-marshallingSAXSource
instances.SourceProvider.SourceWriter Provider for marshalingSource
instances.SourceProvider.StreamSourceReader Provider for un-marshallingStreamSource
instances.Statuses Factory for producing custom JAX-RSresponse status type
instances.StreamingOutputProvider Message body writer that supportsstreaming output
marshalling.StringBuilderUtils Internalstring builder
utilities for building HTTP header values.StringHeaderProvider String
header delegate provider
.Token A token.TracingAwarePropertiesDelegate Delegating properties delegate backed by anotherPropertiesDelegate
with 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 exception
indicating 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.