Class HttpJsonController2Stub (1.4.0)

public class HttpJsonController2Stub extends Controller2Stub

REST stub implementation for the Controller2 service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > Controller2Stub > HttpJsonController2Stub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonController2Stub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonController2Stub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonController2Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonController2Stub
Exceptions
TypeDescription
IOException

create(Controller2StubSettings settings)

public static final HttpJsonController2Stub create(Controller2StubSettings settings)
Parameter
NameDescription
settingsController2StubSettings
Returns
TypeDescription
HttpJsonController2Stub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonController2Stub(Controller2StubSettings settings, ClientContext clientContext)

protected HttpJsonController2Stub(Controller2StubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonController2Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsController2StubSettings
clientContextClientContext

HttpJsonController2Stub(Controller2StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonController2Stub(Controller2StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonController2Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsController2StubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listActiveBreakpointsCallable()

public UnaryCallable<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse> listActiveBreakpointsCallable()
Returns
TypeDescription
UnaryCallable<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse>
Overrides

registerDebuggeeCallable()

public UnaryCallable<RegisterDebuggeeRequest,RegisterDebuggeeResponse> registerDebuggeeCallable()
Returns
TypeDescription
UnaryCallable<RegisterDebuggeeRequest,RegisterDebuggeeResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateActiveBreakpointCallable()

public UnaryCallable<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse> updateActiveBreakpointCallable()
Returns
TypeDescription
UnaryCallable<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse>
Overrides