Table of Contents

Class PollingBuilder

Namespace
TypedRest.CodeGeneration.Jvm.Endpoints
Assembly
TypedRest.CodeGeneration.Jvm.dll

Builds code for PollingEndpoints.

public class PollingBuilder : BuilderBase<PollingEndpoint>, IBuilder<PollingEndpoint>, IBuilder
Inheritance
object
PollingBuilder
Implements
Inherited Members

Methods

ExtraArguments(PollingEndpoint, IEndpointGenerator)

Returns the constructor arguments beyond the referrer and the relative URI.

protected override IEnumerable<JvmExpression> ExtraArguments(PollingEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint PollingEndpoint
generator IEndpointGenerator

Returns

IEnumerable<JvmExpression>

Remarks

Most JVM endpoints take a Class<T> for the entity they deserialize.

GetBaseType(PollingEndpoint, IEndpointGenerator)

Returns the TypedRest implementation class the endpoint derives from.

protected override JvmIdentifier GetBaseType(PollingEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint PollingEndpoint
generator IEndpointGenerator

Returns

JvmIdentifier