| Interface | Description |
|---|---|
| CancelChecker |
Used for processing requests with cancellation support.
|
| Endpoint |
An endpoint is a generic interface that accepts jsonrpc requests and notifications.
|
| Launcher<T> |
This is the entry point for applications that use LSP4J.
|
| MessageConsumer | |
| MessageIssueHandler | |
| MessageProducer |
| Class | Description |
|---|---|
| CompletableFutures | |
| CompletableFutures.FutureCancelChecker | |
| Launcher.Builder<T> |
The launcher builder wires up all components for JSON-RPC communication.
|
| MessageTracer |
Wraps a
MessageConsumer with one that logs in a way that the LSP Inspector can parse. |
| RemoteEndpoint |
An endpoint that can be used to send messages to a given
MessageConsumer by calling
RemoteEndpoint.request(String, Object) or RemoteEndpoint.notify(String, Object). |
| StandardLauncher<T> | |
| TracingMessageConsumer |
A
MessageConsumer that outputs logs in a format that can be parsed by the LSP Inspector. |
| TracingMessageConsumer.RequestMetadata |
Data class for holding pending request metadata.
|
| Exception | Description |
|---|---|
| JsonRpcException |
An exception thrown when accessing the JSON-RPC communication channel fails.
|
| MessageIssueException |
An exception thrown to notify the caller of a
MessageConsumer that one or more issues were
found while parsing or validating a message. |
| ResponseErrorException |
An exception thrown in order to send a response with an attached
error object. |