Package org.eclipse.jetty.util
Class Callback.Nested
- java.lang.Object
-
- org.eclipse.jetty.util.Callback.Completing
-
- org.eclipse.jetty.util.Callback.Nested
-
- Direct Known Subclasses:
CountingCallback
- Enclosing interface:
- Callback
@Deprecated(since="2021-05-27") public static class Callback.Nested extends Callback.Completing
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Nested Completing Callback that completes after completing the nested callback
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.Nested
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description Nested(Callback callback)
Deprecated.Nested(Callback.Nested nested)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
failed(Throwable x)
Deprecated.Callback invoked when the operation fails.Callback
getCallback()
Deprecated.Invocable.InvocationType
getInvocationType()
Deprecated.void
succeeded()
Deprecated.Callback invoked when the operation completes.-
Methods inherited from class org.eclipse.jetty.util.Callback.Completing
completed
-
-
-
-
Constructor Detail
-
Nested
public Nested(Callback callback)
Deprecated.
-
Nested
public Nested(Callback.Nested nested)
Deprecated.
-
-
Method Detail
-
getCallback
public Callback getCallback()
Deprecated.
-
succeeded
public void succeeded()
Deprecated.Description copied from interface:Callback
Callback invoked when the operation completes.
- Specified by:
succeeded
in interfaceCallback
- Overrides:
succeeded
in classCallback.Completing
- See Also:
Callback.failed(Throwable)
-
failed
public void failed(Throwable x)
Deprecated.Description copied from interface:Callback
Callback invoked when the operation fails.
- Specified by:
failed
in interfaceCallback
- Overrides:
failed
in classCallback.Completing
- Parameters:
x
- the reason for the operation failure
-
getInvocationType
public Invocable.InvocationType getInvocationType()
Deprecated.- Returns:
- The InvocationType of this object
-
-