Top Description Fields Constructors Methods
org.eclipse.lsp4j.websocket

public Class WebSocketLauncherBuilder<T>

extends Launcher.Builder<T>
Class Inheritance
Annotations
@Deprecated
forRemoval:true
Type Parameters
<T>
remote service interface type
Imports
java.util.Collection, javax.websocket.Session, org.eclipse.lsp4j.jsonrpc.Endpoint, .Launcher, .MessageConsumer, .RemoteEndpoint, org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler, org.eclipse.lsp4j.jsonrpc.services.ServiceEndpoints

Deprecated

for removal.

Please migrate to org.eclipse.lsp4j.websocket.jakarta

JSON-RPC launcher builder for use in WebSocketEndpoint.

Field Summary

Modifier and TypeField and Description
protected Session
Inherited from org.eclipse.lsp4j.jsonrpc.Launcher.Builder:
classLoaderconfigureGsonexceptionHandlerexecutorServiceinputlocalServicesmessageTracermessageWrapperoutputremoteInterfacesvalidateMessages

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
public Launcher<T>
protected RemoteEndpoint
createRemoteEndpoint(MessageJsonHandler jsonHandler)

Overrides org.eclipse.lsp4j.jsonrpc.Launcher.Builder.createRemoteEndpoint.

Create the remote endpoint that communicates with the local services.

public Collection<Object>
public WebSocketLauncherBuilder<T>
setSession(Session session)
References Deprecated WebSocketLauncherBuilder is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from org.eclipse.lsp4j.jsonrpc.Launcher.Builder:
configureGsoncreateJsonHandlercreateLaunchercreateMessageProcessorcreateProxygetSupportedMethodssetClassLoadersetExceptionHandlersetExecutorServicesetInputsetLocalServicesetLocalServicessetOutputsetRemoteInterfacesetRemoteInterfacestraceMessagesvalidateMessageswrapMessageConsumerwrapMessages

Field Detail

sessionback to summary
protected Session session

Constructor Detail

WebSocketLauncherBuilderback to summary
public WebSocketLauncherBuilder()

Method Detail

addMessageHandlersback to summary
protected void addMessageHandlers(MessageJsonHandler jsonHandler, RemoteEndpoint remoteEndpoint)
createback to summary
public Launcher<T> create()

Overrides org.eclipse.lsp4j.jsonrpc.Launcher.Builder.create.

Annotations
@Override
createRemoteEndpointback to summary
protected RemoteEndpoint createRemoteEndpoint(MessageJsonHandler jsonHandler)

Overrides org.eclipse.lsp4j.jsonrpc.Launcher.Builder.createRemoteEndpoint.

Doc from org.eclipse.lsp4j.jsonrpc.Launcher.Builder.createRemoteEndpoint.

Create the remote endpoint that communicates with the local services.

Annotations
@Override
getLocalServicesback to summary
public Collection<Object> getLocalServices()
setSessionback to summary
public WebSocketLauncherBuilder<T> setSession(Session session)

References Deprecated

WebSocketLauncherBuilder is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.