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
-
objectPollingBuilder
- 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
endpointPollingEndpointgeneratorIEndpointGenerator
Returns
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
endpointPollingEndpointgeneratorIEndpointGenerator