Table of Contents

Class StreamingBuilder

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

Builds code for StreamingEndpoints.

public class StreamingBuilder : BuilderBase<StreamingEndpoint>, IBuilder<StreamingEndpoint>, IBuilder
Inheritance
object
StreamingBuilder
Implements
Inherited Members

Methods

ExtraArguments(StreamingEndpoint, IEndpointGenerator)

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

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

Parameters

endpoint StreamingEndpoint
generator IEndpointGenerator

Returns

IEnumerable<JvmExpression>

Remarks

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

GetBaseType(StreamingEndpoint, IEndpointGenerator)

Returns the TypedRest implementation class the endpoint derives from.

protected override JvmIdentifier GetBaseType(StreamingEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint StreamingEndpoint
generator IEndpointGenerator

Returns

JvmIdentifier