| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| public static interface | |
| private static class | |
| public static interface |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private <T> T | chainAndInvoke(InvocationInterceptor.
|
| private <T> InvocationInterceptor. | chainInterceptors(InvocationInterceptor.
|
| public <T extends @Nullable Object> T | invoke(InvocationInterceptor.
|
| private <T> T |
| InvocationInterceptorChain | back to summary |
|---|---|
| public InvocationInterceptorChain() | |
| chainAndInvoke | back to summary |
|---|---|
| private <T> T chainAndInvoke(InvocationInterceptor. | |
| chainInterceptors | back to summary |
|---|---|
| private <T> InvocationInterceptor. | |
| invoke | back to summary |
|---|---|
| public <T extends @Nullable Object> T invoke(InvocationInterceptor. | |
| proceed | back to summary |
|---|---|
| private <T> T proceed(InvocationInterceptor. | |
| Modifier and Type | Field and Description |
|---|---|
| private final InvocationInterceptorChain. | |
| private final InvocationInterceptor | interceptor
Record Component accessed by interceptor(). |
| private final InvocationInterceptor. | invocation
Record Component accessed by invocation(). |
| Access | Constructor and Description |
|---|---|
| private | InterceptedInvocation(InvocationInterceptor.
|
| Modifier and Type | Method and Description |
|---|---|
| public InvocationInterceptorChain. | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public InvocationInterceptor | |
| public InvocationInterceptor. | |
| public T | proceed()
Implements org. Proceed with this invocation. |
| public void | skip()
Overrides default org. Explicitly skip this invocation. |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| call | back to summary |
|---|---|
| private final InvocationInterceptorChain. Record Component accessed by call(). | |
| interceptor | back to summary |
|---|---|
| private final InvocationInterceptor interceptor Record Component accessed by interceptor(). | |
| invocation | back to summary |
|---|---|
| private final InvocationInterceptor. Record Component accessed by invocation(). | |
| InterceptedInvocation | back to summary |
|---|---|
| private InterceptedInvocation(InvocationInterceptor. | |
| call | back to summary |
|---|---|
| public InvocationInterceptorChain. Record Component getter of call. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| interceptor | back to summary |
|---|---|
| public InvocationInterceptor interceptor() Record Component getter of interceptor. | |
| invocation | back to summary |
|---|---|
| public InvocationInterceptor. Record Component getter of invocation. | |
| proceed | back to summary |
|---|---|
| public T proceed() throws Throwable Implements org. Doc from org. Proceed with this invocation. | |
| skip | back to summary |
|---|---|
| public void skip() Overrides default org. Doc from org. Explicitly skip this invocation. This allows to bypass the check that
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public static InvocationInterceptorChain. |
| apply | back to summary |
|---|---|
| public T apply(InvocationInterceptor interceptor, InvocationInterceptor. | |
| ofVoid | back to summary |
|---|---|
| public static InvocationInterceptorChain. | |
| Modifier and Type | Field and Description |
|---|---|
| private final InvocationInterceptor. | |
| private final List | |
| private final AtomicBoolean | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| pack-priv | ValidatingInvocation(InvocationInterceptor.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public T | proceed()
Implements org. Proceed with this invocation. |
| public void | skip()
Overrides default org. Explicitly skip this invocation. |
| pack-priv void |
| delegate | back to summary |
|---|---|
| private final InvocationInterceptor. | |
| interceptors | back to summary |
|---|---|
| private final List<InvocationInterceptor> interceptors | |
| invokedOrSkipped | back to summary |
|---|---|
| private final AtomicBoolean invokedOrSkipped | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| ValidatingInvocation | back to summary |
|---|---|
| pack-priv ValidatingInvocation(InvocationInterceptor. | |
| fail | back to summary |
|---|---|
| private void fail(String prefix) | |
| markInvokedOrSkipped | back to summary |
|---|---|
| private void markInvokedOrSkipped() | |
| proceed | back to summary |
|---|---|
| public T proceed() throws Throwable Implements org. Doc from org. Proceed with this invocation. | |
| skip | back to summary |
|---|---|
| public void skip() Overrides default org. Doc from org. Explicitly skip this invocation. This allows to bypass the check that
| |
| verifyInvokedAtLeastOnce | back to summary |
|---|---|
| pack-priv void verifyInvokedAtLeastOnce() | |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(InvocationInterceptor interceptor, InvocationInterceptor.
|
| apply | back to summary |
|---|---|
| public void apply(InvocationInterceptor interceptor, InvocationInterceptor. | |