Index
All Classes and Interfaces|All Packages|Serialized Form
B
- body(Request) - Method in class dev.relism.flash.ext.jackson.JacksonHandler
- body(Request, Class<T>) - Method in class dev.relism.flash.ext.jackson.Codec
-
Reads the request body as
typeand verifies its constraints.
C
- check(T) - Static method in class dev.relism.flash.ext.jackson.Validator
-
Verifies a value against its own type's constraints.
- codec() - Method in class dev.relism.flash.ext.jackson.JacksonHandler
-
The format this handler speaks.
- Codec - Class in dev.relism.flash.ext.jackson
-
One Jackson mapper, in the shape a handler needs it.
- Codec(ObjectMapper, ContentType) - Constructor for class dev.relism.flash.ext.jackson.Codec
- contentType() - Method in class dev.relism.flash.ext.jackson.Codec
-
What this codec writes, for a handler that sets the response type itself.
D
- dev.relism.flash.ext.jackson - package dev.relism.flash.ext.jackson
E
- equals(Object) - Method in record class dev.relism.flash.ext.jackson.ValidationException.Violation
-
Indicates whether some other object is "equal to" this one.
F
- field() - Method in record class dev.relism.flash.ext.jackson.ValidationException.Violation
-
Returns the value of the
fieldrecord component.
H
- hashCode() - Method in record class dev.relism.flash.ext.jackson.ValidationException.Violation
-
Returns a hash code value for this object.
I
- isEmpty() - Method in class dev.relism.flash.ext.jackson.Validator
-
True when the type declares no constraints at all —
Validator.verify(java.lang.Object)is then a no-op.
J
- JacksonHandler<B> - Class in dev.relism.flash.ext.jackson
-
A handler whose body one Jackson format parses and whose constraints are checked before it arrives.
- JacksonHandler() - Constructor for class dev.relism.flash.ext.jackson.JacksonHandler
M
- mapper() - Method in class dev.relism.flash.ext.jackson.Codec
-
The mapper itself, for everything these methods do not cover.
- Marshalling - Class in dev.relism.flash.ext.jackson
-
Turns whatever a handler returns into a serialized body.
- message() - Method in record class dev.relism.flash.ext.jackson.ValidationException.Violation
-
Returns the value of the
messagerecord component.
O
- of(ObjectMapper, ContentType) - Static method in class dev.relism.flash.ext.jackson.Marshalling
- of(Class<?>) - Static method in class dev.relism.flash.ext.jackson.Validator
-
The constraints of
type, compiled the first time it is seen and reused after.
T
- toString() - Method in record class dev.relism.flash.ext.jackson.ValidationException.Violation
-
Returns a string representation of this record class.
V
- ValidationException - Exception Class in dev.relism.flash.ext.jackson
-
Raised when a value fails its constraints.
- ValidationException(List<ValidationException.Violation>) - Constructor for exception class dev.relism.flash.ext.jackson.ValidationException
- ValidationException.Violation - Record Class in dev.relism.flash.ext.jackson
-
One failed constraint.
- Validator - Class in dev.relism.flash.ext.jackson
-
The compiled constraints of one type.
- verify(Object) - Method in class dev.relism.flash.ext.jackson.Validator
-
Verifies every constraint on
target. - Violation(String, String) - Constructor for record class dev.relism.flash.ext.jackson.ValidationException.Violation
-
Creates an instance of a
Violationrecord class. - violations() - Method in exception class dev.relism.flash.ext.jackson.ValidationException
-
The individual failures, in field declaration order.
W
- write(Response, Object) - Method in class dev.relism.flash.ext.jackson.Codec
-
Serializes
valueand sets this codec's content type on the response. - writeView(Response, Object, Class<?>) - Method in class dev.relism.flash.ext.jackson.Codec
-
Like
write(dev.relism.flash.models.Response, java.lang.Object), restricted to the fields visible under a Jackson@JsonView.
All Classes and Interfaces|All Packages|Serialized Form