A B C D E F G H I L M N O P R S T U V Y 
All Classes All Packages

A

ACCEPTED - yakworks.api.HttpStatus
 
ALREADY_IMPORTED - yakworks.api.HttpStatus
 
ApiStatus - Interface in yakworks.api
Base interface for statuses.

B

BAD_GATEWAY - yakworks.api.HttpStatus
 
BAD_REQUEST - yakworks.api.HttpStatus
 
BANDWIDTH_LIMIT_EXCEEDED - yakworks.api.HttpStatus
 
BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS - yakworks.api.HttpStatus
 

C

charAt(int) - Method in enum yakworks.api.HttpStatus
 
COMPOUND - Static variable in interface yakworks.problem.spi.StackTraceProcessor
 
CONFLICT - yakworks.api.HttpStatus
 
CONNECTION_TIMED_OUT - yakworks.api.HttpStatus
 
contains(Class<?>) - Method in exception yakworks.problem.exception.NestedProblemException
Check whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.
CONTINUE - yakworks.api.HttpStatus
 
CREATED - yakworks.api.HttpStatus
 

D

DEFAULT - Static variable in interface yakworks.problem.spi.StackTraceProcessor
 
detail(String) - Method in interface yakworks.problem.IProblem.Fluent
 

E

ENHANCE_YOUR_CALM - yakworks.api.HttpStatus
 
Exceptional - Interface in yakworks.problem.exception
An extension of the IProblem interface for problems that extend Exception.
EXPECTATION_FAILED - yakworks.api.HttpStatus
 

F

FAILED_DEPENDENCY - yakworks.api.HttpStatus
 
FORBIDDEN - yakworks.api.HttpStatus
 
FOUND - yakworks.api.HttpStatus
 

G

GATEWAY_TIMEOUT - yakworks.api.HttpStatus
 
get() - Method in interface yakworks.api.Result
get the value of the payload, keeps api similiar to Optional.
getCode() - Method in interface yakworks.api.ApiStatus
Get the associated status code.
getCode() - Method in enum yakworks.api.HttpStatus
 
getCode() - Method in interface yakworks.problem.data.ProblemType
the code
getCode() - Method in interface yakworks.problem.Violation
 
getDefaultCode() - Method in interface yakworks.api.Result
 
getDetail() - Method in interface yakworks.problem.IProblem
A human readable explanation specific to this occurrence of the problem.
getField() - Method in interface yakworks.problem.Violation
 
getInstanceURI() - Method in interface yakworks.problem.IProblem
An absolute URI that identifies the specific occurrence of the problem.
getMessage() - Method in exception yakworks.problem.exception.NestedProblemException
Return the detail message, including the message from the nested exception if there is one.
getMessage() - Method in interface yakworks.problem.Violation
 
getMostSpecificCause() - Method in exception yakworks.problem.exception.NestedProblemException
Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself.
getMsg() - Method in interface yakworks.problem.IProblem
 
getMsg() - Method in interface yakworks.problem.Violation
 
getOk() - Method in interface yakworks.api.Result
success or fail? if ok is true then it still may mean that there are warnings and needs to be looked into
getOk() - Method in interface yakworks.problem.IProblem
 
getPayload() - Method in interface yakworks.api.Result
the response object value or result of the method/function or process Implementations might choose to ignore this in favor of concrete, typed fields.
getReason() - Method in interface yakworks.api.ApiStatus
Get the reason phrase.
getReason() - Method in enum yakworks.api.HttpStatus
 
getRootCause() - Method in exception yakworks.problem.exception.NestedProblemException
Retrieve the innermost cause of this exception, if any.
getRootCause(Throwable) - Static method in class yakworks.problem.exception.NestedExceptionUtils
Retrieve the innermost cause of the given exception Returns the original passed in exception if there is no root cause so this alway returns something.
getStatus() - Method in interface yakworks.api.Result
status code, normally an HttpStatus.value()
getTitle() - Method in interface yakworks.api.Result
A short, human-readable summary of the result type.
getType() - Method in interface yakworks.problem.IProblem
An absolute URI that identifies the problem type.
getValue() - Method in interface yakworks.api.Result
alias to payload
getViolations() - Method in interface yakworks.problem.IProblem
The list of constraint violations or any others
GONE - yakworks.api.HttpStatus
 

H

HTTP_VERSION_NOT_SUPPORTED - yakworks.api.HttpStatus
 
HttpStatus - Enum in yakworks.api
While these are HttpStatus code they seve well for general purpose Api codes Copied in from micronaut.

I

I_AM_A_TEAPOT - yakworks.api.HttpStatus
 
IM_USED - yakworks.api.HttpStatus
 
INSUFFICIENT_STORAGE - yakworks.api.HttpStatus
 
INTERNAL_SERVER_ERROR - yakworks.api.HttpStatus
 
IProblem - Interface in yakworks.problem
Simple interface for problem getters
IProblem.Fluent<E extends IProblem.Fluent> - Interface in yakworks.problem
 

L

length() - Method in enum yakworks.api.HttpStatus
 
LENGTH_REQUIRED - yakworks.api.HttpStatus
 
LOCKED - yakworks.api.HttpStatus
 
LOOP_DETECTED - yakworks.api.HttpStatus
 

M

METHOD_NOT_ALLOWED - yakworks.api.HttpStatus
 
MOVED_PERMANENTLY - yakworks.api.HttpStatus
 
msg(String) - Method in interface yakworks.api.Result.Fluent
 
msg(String, Object) - Method in interface yakworks.api.Result.Fluent
 
msg(MsgKey) - Method in interface yakworks.api.Result.Fluent
 
MULTI_STATUS - yakworks.api.HttpStatus
 
MULTIPLE_CHOICES - yakworks.api.HttpStatus
 

N

NestedExceptionUtils - Class in yakworks.problem.exception
Helper class for implementing exception classes which are capable of holding nested exceptions.
NestedExceptionUtils() - Constructor for class yakworks.problem.exception.NestedExceptionUtils
 
NestedProblemException - Exception in yakworks.problem.exception
Handy class for wrapping runtime Exceptions with a root cause.
NestedProblemException() - Constructor for exception yakworks.problem.exception.NestedProblemException
 
NestedProblemException(String) - Constructor for exception yakworks.problem.exception.NestedProblemException
Construct a NestedRuntimeException with the specified detail message.
NestedProblemException(String, Throwable) - Constructor for exception yakworks.problem.exception.NestedProblemException
Construct a NestedRuntimeException with the specified detail message and nested exception.
NestedProblemException(String, Throwable, boolean, boolean) - Constructor for exception yakworks.problem.exception.NestedProblemException
Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
NestedProblemException(Throwable) - Constructor for exception yakworks.problem.exception.NestedProblemException
 
NETWORK_AUTHENTICATION_REQUIRED - yakworks.api.HttpStatus
 
NO_CONTENT - yakworks.api.HttpStatus
 
NO_RESPONSE - yakworks.api.HttpStatus
 
NON_AUTHORITATIVE_INFORMATION - yakworks.api.HttpStatus
 
NOT_ACCEPTABLE - yakworks.api.HttpStatus
 
NOT_EXTENDED - yakworks.api.HttpStatus
 
NOT_FOUND - yakworks.api.HttpStatus
 
NOT_IMPLEMENTED - yakworks.api.HttpStatus
 
NOT_MODIFIED - yakworks.api.HttpStatus
 

O

of(Object) - Static method in interface yakworks.api.Result
java.util.Optional api consitency.
of(String, Object) - Static method in interface yakworks.api.Result
 
ofCode(String) - Static method in interface yakworks.api.Result
 
OK - yakworks.api.HttpStatus
 
OK() - Static method in interface yakworks.api.Result
 

P

PARTIAL_CONTENT - yakworks.api.HttpStatus
 
payload(Object) - Method in interface yakworks.api.Result.Fluent
 
PAYMENT_REQUIRED - yakworks.api.HttpStatus
 
PERMANENT_REDIRECT - yakworks.api.HttpStatus
 
PRECONDITION_FAILED - yakworks.api.HttpStatus
 
PRECONDITION_REQUIRED - yakworks.api.HttpStatus
 
ProblemType - Interface in yakworks.problem.data
Base interface for statuses.
process(Collection<StackTraceElement>) - Method in interface yakworks.problem.spi.StackTraceProcessor
 
PROCESSING - yakworks.api.HttpStatus
 
propagate() - Method in interface yakworks.problem.exception.Exceptional
 
propagateAs(Class<X>) - Method in interface yakworks.problem.exception.Exceptional
 
PROXY_AUTHENTICATION_REQUIRED - yakworks.api.HttpStatus
 

R

REQUEST_ENTITY_TOO_LARGE - yakworks.api.HttpStatus
 
REQUEST_HEADER_FIELDS_TOO_LARGE - yakworks.api.HttpStatus
 
REQUEST_HEADER_TOO_LARGE - yakworks.api.HttpStatus
 
REQUEST_TIMEOUT - yakworks.api.HttpStatus
 
REQUEST_URI_TOO_LONG - yakworks.api.HttpStatus
 
REQUESTED_RANGE_NOT_SATISFIABLE - yakworks.api.HttpStatus
 
RESET_CONTENT - yakworks.api.HttpStatus
 
Result - Interface in yakworks.api
This is the base result trait for problems and results follows https://datatracker.ietf.org/doc/html/rfc7807 for status and title fields In many cases for parallel processing and batch processing we are spinning through chunks of data.
Result.Fluent<E extends Result.Fluent> - Interface in yakworks.api
 

S

SEE_OTHER - yakworks.api.HttpStatus
 
SERVICE_UNAVAILABLE - yakworks.api.HttpStatus
 
setDetail(String) - Method in interface yakworks.problem.IProblem
 
setPayload(Object) - Method in interface yakworks.api.Result
 
setStatus(ApiStatus) - Method in interface yakworks.api.Result
 
setTitle(String) - Method in interface yakworks.api.Result
 
setType(URI) - Method in interface yakworks.problem.IProblem
 
setViolations(List<Violation>) - Method in interface yakworks.problem.IProblem
 
StackTraceProcessor - Interface in yakworks.problem.spi
 
status(Integer) - Method in interface yakworks.api.Result.Fluent
 
status(ApiStatus) - Method in interface yakworks.api.Result.Fluent
 
subSequence(int, int) - Method in enum yakworks.api.HttpStatus
 
SWITCH_PROXY - yakworks.api.HttpStatus
 
SWITCHING_PROTOCOLS - yakworks.api.HttpStatus
 

T

TEMPORARY_REDIRECT - yakworks.api.HttpStatus
 
title(String) - Method in interface yakworks.api.Result.Fluent
 
TOO_MANY_REQUESTS - yakworks.api.HttpStatus
 
toString() - Method in enum yakworks.api.HttpStatus
 
type(String) - Method in interface yakworks.problem.IProblem.Fluent
 
type(URI) - Method in interface yakworks.problem.IProblem.Fluent
 

U

UNAUTHORIZED - yakworks.api.HttpStatus
 
UNAVAILABLE_FOR_LEGAL_REASONS - yakworks.api.HttpStatus
 
UNORDERED_COLLECTION - yakworks.api.HttpStatus
 
UNPROCESSABLE_ENTITY - yakworks.api.HttpStatus
 
UNSUPPORTED_MEDIA_TYPE - yakworks.api.HttpStatus
 
UPGRADE_REQUIRED - yakworks.api.HttpStatus
 
USE_PROXY - yakworks.api.HttpStatus
 

V

value(Object) - Method in interface yakworks.api.Result.Fluent
 
valueOf(int) - Static method in enum yakworks.api.HttpStatus
The status for the given code.
valueOf(String) - Static method in enum yakworks.api.HttpStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum yakworks.api.HttpStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VARIANT_ALSO_NEGOTIATES - yakworks.api.HttpStatus
 
Violation - Interface in yakworks.problem
 
violations(List<Violation>) - Method in interface yakworks.problem.IProblem.Fluent
 

Y

yakworks.api - package yakworks.api
 
yakworks.problem - package yakworks.problem
 
yakworks.problem.data - package yakworks.problem.data
 
yakworks.problem.exception - package yakworks.problem.exception
 
yakworks.problem.spi - package yakworks.problem.spi
 
A B C D E F G H I L M N O P R S T U V Y 
All Classes All Packages