Class WidgetServiceGrpc.WidgetServiceBlockingV2Stub (0.1.0)

public static final class WidgetServiceGrpc.WidgetServiceBlockingV2Stub extends AbstractBlockingStub<WidgetServiceGrpc.WidgetServiceBlockingV2Stub>

A stub to allow clients to do 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.WidgetServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected WidgetServiceGrpc.WidgetServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WidgetServiceGrpc.WidgetServiceBlockingV2Stub
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
Exceptions
Type Description
io.grpc.StatusException