Index
All Classes and Interfaces|All Packages
B
- buildWeakETag(Long) - Static method in class com.vertyll.freshly.web.http.ETagUtil
-
The weak ETag for a stored aggregate's version.
C
- code() - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Returns the value of the
coderecord component. - com.vertyll.freshly.web - package com.vertyll.freshly.web
- com.vertyll.freshly.web.error - package com.vertyll.freshly.web.error
- com.vertyll.freshly.web.http - package com.vertyll.freshly.web.http
- com.vertyll.freshly.web.i18n - package com.vertyll.freshly.web.i18n
- com.vertyll.freshly.web.security - package com.vertyll.freshly.web.security
- context() - Method in class com.vertyll.freshly.web.i18n.PlatformTranslationCatalogue
D
- defaults() - Method in class com.vertyll.freshly.web.i18n.PlatformTranslationCatalogue
E
- equals(Object) - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Indicates whether some other object is "equal to" this one.
- ErrorHttpStatusMapper - Class in com.vertyll.freshly.web.error
-
Turns a failure's kind into a status, in exactly one place.
- ETagUtil - Class in com.vertyll.freshly.web.http
-
Builds and parses the weak ETag that carries an aggregate's version.
F
- field() - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Returns the value of the
fieldrecord component. - FieldViolation - Record Class in com.vertyll.freshly.web.error
-
One rejected field, carrying a key rather than a sentence.
- FieldViolation(String, String, String, Map) - Constructor for record class com.vertyll.freshly.web.error.FieldViolation
-
Creates an instance of a
FieldViolationrecord class.
G
- getMessage(String, Object[], String, Locale) - Method in class com.vertyll.freshly.web.i18n.TranslationMessageSource
- getMessage(String, Object[], Locale) - Method in class com.vertyll.freshly.web.i18n.TranslationMessageSource
- getMessage(MessageSourceResolvable, Locale) - Method in class com.vertyll.freshly.web.i18n.TranslationMessageSource
-
Tries each code in turn, which is how Spring's own validation messages degrade.
- GlobalExceptionHandler - Class in com.vertyll.freshly.web.error
-
Answers every refusal as an RFC 9457 problem document, whichever module threw it.
- GlobalExceptionHandler() - Constructor for class com.vertyll.freshly.web.error.GlobalExceptionHandler
H
- handleAccessDenied(AccessDeniedException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
Deliberately vague, and the same for both.
- handleConcurrentModification(OptimisticLockingFailureException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
Two writers reached the same document at once.
- handleConstraintViolation(ConstraintViolationException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
Bean validation on a query parameter or path variable, rather than on a body.
- handleDomainException(DomainException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
- handleDuplicate(DuplicateKeyException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
A unique index refused to write.
- handleTypeMismatch(MethodArgumentTypeMismatchException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
- handleUnauthenticated(AuthenticationException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
- handleUnexpected(Exception, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
The last resort, and deliberately not the first.
- handleUnreadableBody(HttpMessageNotReadableException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
Malformed JSON, or a body that does not fit the target type.
- handleUploadTooLarge(MaxUploadSizeExceededException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
An upload over the configured ceiling, which is a 413 and not a server fault.
- handleValidation(MethodArgumentNotValidException, WebRequest) - Method in class com.vertyll.freshly.web.error.GlobalExceptionHandler
-
Body validation.
- hashCode() - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Returns a hash code value for this object.
I
- IfMatchError - Enum Class in com.vertyll.freshly.web.http
-
Refusals raised while reading an
If-Matchheader, before any module is involved.
K
- key() - Method in enum class com.vertyll.freshly.web.http.IfMatchError
- kind() - Method in enum class com.vertyll.freshly.web.http.IfMatchError
M
- MALFORMED - Enum constant in enum class com.vertyll.freshly.web.http.IfMatchError
- message() - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Returns the value of the
messagerecord component. - MessageResolver - Class in com.vertyll.freshly.web.i18n
-
Resolves a message key against the request's locale.
- MessageResolver() - Constructor for class com.vertyll.freshly.web.i18n.MessageResolver
O
- of(HttpStatus, String, String, String, Map) - Static method in class com.vertyll.freshly.web.error.Problems
P
- params() - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Returns the value of the
paramsrecord component. - parseVersion(String) - Static method in class com.vertyll.freshly.web.http.ETagUtil
-
Reads the version out of an
If-Matchheader. - PlatformTranslationCatalogue - Class in com.vertyll.freshly.web.i18n
-
The default text this context ships.
- PlatformTranslationCatalogue() - Constructor for class com.vertyll.freshly.web.i18n.PlatformTranslationCatalogue
- Problems - Class in com.vertyll.freshly.web.error
-
Builds the RFC 9457 problem document this application answers refusals with.
- PublicEndpoint - Annotation Interface in com.vertyll.freshly.web.security
-
Declares that an endpoint is deliberately reachable without authentication.
R
- RequireAnyPermission - Annotation Interface in com.vertyll.freshly.web.security
-
Permits the call when the caller holds at least one of the named permissions.
- RequirePermission - Annotation Interface in com.vertyll.freshly.web.security
-
Declares the permission an endpoint requires.
- resolve(String) - Method in class com.vertyll.freshly.web.i18n.MessageResolver
-
Resolves a key with no arguments.
- resolve(String, Map) - Method in class com.vertyll.freshly.web.i18n.MessageResolver
-
Resolves and interpolates by argument name.
S
- ScopedToCaller - Annotation Interface in com.vertyll.freshly.web.security
-
Declares that an endpoint needs no permission because it only ever returns or changes the caller's own data.
- statusOf(ErrorKind) - Static method in class com.vertyll.freshly.web.error.ErrorHttpStatusMapper
T
- toString() - Method in record class com.vertyll.freshly.web.error.FieldViolation
-
Returns a string representation of this record class.
- TranslationMessageSource - Class in com.vertyll.freshly.web.i18n
-
A
MessageSourcebacked by the translation store. - TranslationMessageSource() - Constructor for class com.vertyll.freshly.web.i18n.TranslationMessageSource
V
- value() - Element in annotation interface com.vertyll.freshly.web.security.PublicEndpoint
- value() - Element in annotation interface com.vertyll.freshly.web.security.RequireAnyPermission
- value() - Element in annotation interface com.vertyll.freshly.web.security.RequirePermission
-
The permission's wire form, e.g.
- value() - Element in annotation interface com.vertyll.freshly.web.security.ScopedToCaller
-
Why no permission check applies, in a sentence.
- valueOf(String) - Static method in enum class com.vertyll.freshly.web.http.IfMatchError
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vertyll.freshly.web.http.IfMatchError
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WebPlatformConfig - Class in com.vertyll.freshly.web
-
The platform's web contribution, imported once by
bootstrap. - WebPlatformConfig() - Constructor for class com.vertyll.freshly.web.WebPlatformConfig
All Classes and Interfaces|All Packages