Class ProducerBuilder
- Namespace
- TypedRest.CodeGeneration.Jvm.Endpoints
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
Builds code for ProducerEndpoints.
public class ProducerBuilder : BuilderBase<ProducerEndpoint>, IBuilder<ProducerEndpoint>, IBuilder
- Inheritance
-
objectProducerBuilder
- Implements
- Inherited Members
Methods
ExtraArguments(ProducerEndpoint, IEndpointGenerator)
Returns the constructor arguments beyond the referrer and the relative URI.
protected override IEnumerable<JvmExpression> ExtraArguments(ProducerEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointProducerEndpointgeneratorIEndpointGenerator
Returns
Remarks
Most JVM endpoints take a Class<T> for the entity they deserialize.
GetBaseType(ProducerEndpoint, IEndpointGenerator)
Returns the TypedRest implementation class the endpoint derives from.
protected override JvmIdentifier GetBaseType(ProducerEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointProducerEndpointgeneratorIEndpointGenerator