Class WidgetServiceGrpc.WidgetServiceBlockingStub (0.1.0)

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.WidgetServiceBlockingStub

Methods

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
Overrides
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