public static final class WidgetServiceGrpc.WidgetServiceBlockingStub extends AbstractBlockingStub<WidgetServiceGrpc.WidgetServiceBlockingStub>A stub to allow clients to do limited synchronous 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.AbstractBlockingStub > WidgetServiceGrpc.WidgetServiceBlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected WidgetServiceGrpc.WidgetServiceBlockingStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
WidgetServiceGrpc.WidgetServiceBlockingStub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
generateChatToken(GenerateChatTokenRequest request)
public GenerateChatTokenResponse generateChatToken(GenerateChatTokenRequest request)Generates a session scoped token for chat widget to authenticate with Session APIs.
| Parameter | |
|---|---|
| Name | Description |
request |
GenerateChatTokenRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateChatTokenResponse |
|