public static final class WidgetServiceGrpc.WidgetServiceStub extends AbstractAsyncStub<WidgetServiceGrpc.WidgetServiceStub>A stub to allow clients to do asynchronous rpc calls to service WidgetService.
Provides APIs for widgets to interact with CES APIs.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > WidgetServiceGrpc.WidgetServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected WidgetServiceGrpc.WidgetServiceStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
WidgetServiceGrpc.WidgetServiceStub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
generateChatToken(GenerateChatTokenRequest request, StreamObserver<GenerateChatTokenResponse> responseObserver)
public void generateChatToken(GenerateChatTokenRequest request, StreamObserver<GenerateChatTokenResponse> responseObserver)Generates a session scoped token for chat widget to authenticate with Session APIs.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateChatTokenRequest |
responseObserver |
io.grpc.stub.StreamObserver<GenerateChatTokenResponse> |