Toggle navigation
Home
org.eclipse.che.api.languageserver.shared.model.FileContentParameters to java.lang.String
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'che'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Add or Remove Method invocation
requestTransmitter.newRequest().endpointId("ws-agent").methodName("textDocument/fileContent").paramsAsDto(params).sendAndReceiveResultAsString().onSuccess(resolve::apply).onFailure(error -> reject.apply(getPromiseError(error)))
to
requestTransmitter.newRequest().endpointId(WS_AGENT_JSON_RPC_ENDPOINT_ID).methodName("textDocument/fileContent").paramsAsString(uri).sendAndReceiveResultAsString().onSuccess(resolve::apply).onFailure(error -> reject.apply(getPromiseError(error)))
Rename Variable
params
to
uri