| Interface | Description |
|---|---|
| Handler |
Top-level handler for service calls.
|
| OperationHandler<T,R> |
Handler for an operation.
|
| OperationMethodCancellationListener |
Listener that can be registered to listen for cancellation of an operation handler method.
|
| OperationMiddleware |
Middleware for intercepting operations.
|
| SynchronousOperationFunction<T,R> |
Function interface for
OperationHandler.sync(io.nexusrpc.handler.SynchronousOperationFunction<T, R>) representing a call made for every operation
call. |
| Class | Description |
|---|---|
| HandlerInputContent |
Content that can be fixed or streaming for start operation input.
|
| HandlerInputContent.Builder |
Builder for content.
|
| HandlerResultContent |
Content that can be fixed or streaming as a result of an operation.
|
| HandlerResultContent.Builder |
Builder for content.
|
| OperationCancelDetails |
Details for handling operation cancel.
|
| OperationCancelDetails.Builder |
Builder for operation cancel details.
|
| OperationContext |
Context for use in operation handling.
|
| OperationContext.Builder |
Builder for operation context.
|
| OperationFetchInfoDetails |
Details for handling operation fetch info.
|
| OperationFetchInfoDetails.Builder |
Builder for operation fetch info details.
|
| OperationFetchResultDetails |
Details for handling operation fetch result.
|
| OperationFetchResultDetails.Builder |
Builder for operation fetch result details.
|
| OperationMethodCanceller |
Utility to cancel in-flight operation handler methods.
|
| OperationStartDetails |
Details for handling operation start.
|
| OperationStartDetails.Builder |
Builder for operation start details.
|
| OperationStartResult<R> | |
| OperationStartResult.Builder<R> |
Builder for an OperationStartResult.
|
| ServiceHandler |
Handler that delegates to service implementations.
|
| ServiceHandler.Builder |
Builder for operation start details.
|
| ServiceImplInstance |
Instance of a
ServiceImpl annotated class. |
| ServiceImplInstance.Builder |
Builder for a service impl instance.
|
| Enum | Description |
|---|---|
| OperationHandlerException.ErrorType |
Error type that can occur on a handler exception.
|
| Exception | Description |
|---|---|
| OperationHandlerException |
Thrown from a handler for any unexpected error.
|
| Annotation Type | Description |
|---|---|
| OperationImpl |
Marks a method on a
ServiceImpl as an implementation of an Operation. |
| ServiceImpl |
Marks a class as an implementation of a
Service interface. |