Package org.eclipse.lsp4j.jsonrpc
-
Interface Summary 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 Summary Class Description CompletableFutures CompletableFutures.FutureCancelChecker Launcher.Builder<T> The launcher builder wires up all components for JSON-RPC communication.MessageTracer Wraps aMessageConsumer
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 givenMessageConsumer
by callingRemoteEndpoint.request(String, Object)
orRemoteEndpoint.notify(String, Object)
.StandardLauncher<T> TracingMessageConsumer AMessageConsumer
that outputs logs in a format that can be parsed by the LSP Inspector.TracingMessageConsumer.RequestMetadata Data class for holding pending request metadata. -
Exception Summary Exception Description JsonRpcException An exception thrown when accessing the JSON-RPC communication channel fails.MessageIssueException An exception thrown to notify the caller of aMessageConsumer
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 attachederror
object.