Index
All Classes and Interfaces|All Packages|Serialized Form
A
- acceptJsonFormatVisitor(JsonFormatVisitorWrapper, JavaType) - Method in class org.sdase.commons.server.jackson.Iso8601Serializer
- alwaysWriteZonedDateTimeWithMillis() - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle.Builder
-
Registers a default serializer for
ZonedDateTime
that renders 3 digits of milliseconds. - alwaysWriteZonedDateTimeWithMillis() - Method in class org.sdase.commons.server.jackson.ObjectMapperConfigurationUtil.Builder
-
Registers a default serializer for
ZonedDateTime
that renders 3 digits of milliseconds. - alwaysWriteZonedDateTimeWithoutMillis() - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle.Builder
-
Registers a default serializer for
ZonedDateTime
that renders no milliseconds. - alwaysWriteZonedDateTimeWithoutMillis() - Method in class org.sdase.commons.server.jackson.ObjectMapperConfigurationUtil.Builder
-
Registers a default serializer for
ZonedDateTime
that renders no milliseconds. - ApiExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Exception Mapper for
ApiException
that should be used within the business logic to inform the clients about problems during processing - ApiExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.ApiExceptionMapper
- asHalLink() - Method in class org.sdase.commons.server.jackson.hal.LinkResult
-
Returns the link result as HALLink
- asUri() - Method in class org.sdase.commons.server.jackson.hal.LinkResult
-
Returns the link result as URI
B
- build() - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle.Builder
- build() - Method in class org.sdase.commons.server.jackson.ObjectMapperConfigurationUtil.Builder
- builder() - Static method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle
C
- configure(FeatureContext) - Method in class org.sdase.commons.server.jackson.EmbedHelper
- configure(FeatureContext) - Method in class org.sdase.commons.server.jackson.filter.JacksonFieldFilterModule
- configure(FeatureContext) - Method in class org.sdase.commons.server.jackson.hal.HalLinkProvider
- configureMapper() - Static method in class org.sdase.commons.server.jackson.ObjectMapperConfigurationUtil
E
- EarlyEofExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Exception mapper if client disconnects unexpectedly.
- EarlyEofExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.EarlyEofExceptionMapper
- EmbedHelper - Class in org.sdase.commons.server.jackson
-
Helper utility that can be registered in the Jersey environment to be injected into services.
- EmbedHelper(Environment) - Constructor for class org.sdase.commons.server.jackson.EmbedHelper
-
Create a new embed helper instance and register it in the given
environment
so that it becomesContext
aware. - EnableFieldFilter - Annotation Interface in org.sdase.commons.server.jackson
-
Enables field filtering for the annotated resource when rendered in a response.
F
- FieldFilterSerializerModifier - Class in org.sdase.commons.server.jackson.filter
-
Applies the field filter when a bean is serialized.
- FieldFilterSerializerModifier() - Constructor for class org.sdase.commons.server.jackson.filter.FieldFilterSerializerModifier
G
- getInstance() - Static method in class org.sdase.commons.server.jackson.hal.HalLinkProvider
-
Returns the singleton instance of the HalLinkProvider
- getName(Property) - Method in class org.sdase.commons.server.jackson.errors.JacksonPropertyNodeNameProvider
H
- HalLinkInvocationStateUtility - Class in org.sdase.commons.server.jackson.hal
-
An utility class to process and store the invocation information of a method.
- HalLinkMethodInvocationException - Exception in org.sdase.commons.server.jackson.hal
- HalLinkMethodInvocationException(String) - Constructor for exception org.sdase.commons.server.jackson.hal.HalLinkMethodInvocationException
- HalLinkMethodInvocationException(String, Throwable) - Constructor for exception org.sdase.commons.server.jackson.hal.HalLinkMethodInvocationException
- HalLinkProvider - Class in org.sdase.commons.server.jackson.hal
-
Helper utility which is registered as singleton instance in the jersey environment via the JacksonConfigurationBundle.
I
- initialize(Bootstrap<?>) - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle
-
Initializes the
ObjectMapper
as in the defaultBootstrap
but does not add theFuzzyEnumModule
as it breaks enum features of Jackson. - InvalidTypeIdExceptionMapper - Class in org.sdase.commons.server.jackson.errors
- InvalidTypeIdExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.InvalidTypeIdExceptionMapper
- isEmbeddingOfRelationRequested(String) - Method in class org.sdase.commons.server.jackson.EmbedHelper
- Iso8601Serializer - Class in org.sdase.commons.server.jackson
-
A serializer used to write
ZonedDateTime
in ISO 8601 datetime format contain date, hours, minutes, seconds and time zone. - Iso8601Serializer() - Constructor for class org.sdase.commons.server.jackson.Iso8601Serializer
- Iso8601Serializer(String) - Constructor for class org.sdase.commons.server.jackson.Iso8601Serializer
-
Constructor for subclasses that create a new
Iso8601Serializer
forZonedDateTime
using a custom pattern for formatting. - Iso8601Serializer.WithMillis - Class in org.sdase.commons.server.jackson
-
A serializer used to write
ZonedDateTime
in ISO 8601 datetime format contain date, hours, minutes, seconds, milli seconds and time zone.
J
- JacksonConfigurationBundle - Class in org.sdase.commons.server.jackson
-
Configures the
ObjectMapper
to support HAL structures usingResource
,Link
andEmbeddedResource
and field filtering on client request for resources annotated byEnableFieldFilter
. - JacksonConfigurationBundle.Builder - Class in org.sdase.commons.server.jackson
- JacksonFieldFilterModule - Class in org.sdase.commons.server.jackson.filter
- JacksonFieldFilterModule() - Constructor for class org.sdase.commons.server.jackson.filter.JacksonFieldFilterModule
-
Use
JacksonConfigurationBundle
to create and register a managed instance. - JacksonPropertyNodeNameProvider - Class in org.sdase.commons.server.jackson.errors
-
A
PropertyNodeNameProvider
that resolves the name of the property via Jackson. - JacksonPropertyNodeNameProvider() - Constructor for class org.sdase.commons.server.jackson.errors.JacksonPropertyNodeNameProvider
- JerseyValidationExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Maps
JerseyViolationException
s to the error structure defined within the rest guidelines. - JerseyValidationExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.JerseyValidationExceptionMapper
- JsonProcessingExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Exception mapper for JsonProcessingException that are thrown e.g.
- JsonProcessingExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.JsonProcessingExceptionMapper
L
- LinkResult - Class in org.sdase.commons.server.jackson.hal
-
Wrapper class to provide the processed Link as URI or HALLink
- LinkResult(URI) - Constructor for class org.sdase.commons.server.jackson.hal.LinkResult
-
Instantiates a new Link result.
- linkTo(Object) - Static method in class org.sdase.commons.server.jackson.hal.HalLinkProvider
-
Creates a HALLink based on JAX-RS annotated parameters of an interface.
M
- methodOn(Class<T>) - Static method in class org.sdase.commons.server.jackson.hal.HalLinkProvider
-
Creates and returns a proxy instance based on the passed type parameter with a method invocation handler, which processes and saves the needed method invocation information in the current thread.
- modifySerializer(SerializationConfig, BeanDescription, JsonSerializer<?>) - Method in class org.sdase.commons.server.jackson.filter.FieldFilterSerializerModifier
O
- ObjectMapperConfigurationUtil - Class in org.sdase.commons.server.jackson
-
Configures the
ObjectMapper
to support HAL structures usingResource
,Link
andEmbeddedResource
. - ObjectMapperConfigurationUtil.Builder - Class in org.sdase.commons.server.jackson
- org.sdase.commons.server.jackson - package org.sdase.commons.server.jackson
- org.sdase.commons.server.jackson.errors - package org.sdase.commons.server.jackson.errors
- org.sdase.commons.server.jackson.filter - package org.sdase.commons.server.jackson.filter
- org.sdase.commons.server.jackson.hal - package org.sdase.commons.server.jackson.hal
R
- run(Configuration, Environment) - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle
- RuntimeExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Exception Mapper for
RuntimeException
that should be used as last resort to avoid default error messages. - RuntimeExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.RuntimeExceptionMapper
S
- serialize(ZonedDateTime, JsonGenerator, SerializerProvider) - Method in class org.sdase.commons.server.jackson.Iso8601Serializer
- setupModule(Module.SetupContext) - Method in class org.sdase.commons.server.jackson.filter.JacksonFieldFilterModule
T
- toResponse(JsonProcessingException) - Method in class org.sdase.commons.server.jackson.errors.JsonProcessingExceptionMapper
- toResponse(InvalidTypeIdException) - Method in class org.sdase.commons.server.jackson.errors.InvalidTypeIdExceptionMapper
- toResponse(JerseyViolationException) - Method in class org.sdase.commons.server.jackson.errors.JerseyValidationExceptionMapper
- toResponse(ValidationException) - Method in class org.sdase.commons.server.jackson.errors.ValidationExceptionMapper
- toResponse(WebApplicationException) - Method in class org.sdase.commons.server.jackson.errors.WebApplicationExceptionMapper
- toResponse(RuntimeException) - Method in class org.sdase.commons.server.jackson.errors.RuntimeExceptionMapper
- toResponse(EofException) - Method in class org.sdase.commons.server.jackson.errors.EarlyEofExceptionMapper
- toResponse(ApiException) - Method in class org.sdase.commons.server.jackson.errors.ApiExceptionMapper
V
- ValidationExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Exception Mapper for exceptions that occur during the validation process.
- ValidationExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.ValidationExceptionMapper
W
- WebApplicationExceptionMapper - Class in org.sdase.commons.server.jackson.errors
-
Mapper for
WebApplicationException
, that comprisesClientErrorException
andServerErrorException
. - WebApplicationExceptionMapper() - Constructor for class org.sdase.commons.server.jackson.errors.WebApplicationExceptionMapper
- withCustomization(Consumer<ObjectMapper>) - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle.Builder
-
Allows customization of the used
ObjectMapper
. - withCustomization(Consumer<ObjectMapper>) - Method in class org.sdase.commons.server.jackson.ObjectMapperConfigurationUtil.Builder
-
Allows customization of the
ObjectMapper
. - WithMillis() - Constructor for class org.sdase.commons.server.jackson.Iso8601Serializer.WithMillis
- withoutFieldFilter() - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle.Builder
-
Disables the field filter entirely.
- withoutHalSupport() - Method in class org.sdase.commons.server.jackson.JacksonConfigurationBundle.Builder
-
Skips registration of the HAL module.
- withoutHalSupport() - Method in class org.sdase.commons.server.jackson.ObjectMapperConfigurationUtil.Builder
-
Skips registration of the HAL module.
All Classes and Interfaces|All Packages|Serialized Form