Table of Contents

Class SseStreamingBuilder

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

Builds code for SseStreamingEndpoints.

public class SseStreamingBuilder : BuilderBase<SseStreamingEndpoint>, IBuilder<SseStreamingEndpoint>, IBuilder
Inheritance
object
SseStreamingBuilder
Implements
Inherited Members

Methods

ExtraArguments(SseStreamingEndpoint, IEndpointGenerator)

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

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

Parameters

endpoint SseStreamingEndpoint
generator IEndpointGenerator

Returns

IEnumerable<JvmExpression>

Remarks

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

GetBaseType(SseStreamingEndpoint, IEndpointGenerator)

Returns the TypedRest implementation class the endpoint derives from.

protected override JvmIdentifier GetBaseType(SseStreamingEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint SseStreamingEndpoint
generator IEndpointGenerator

Returns

JvmIdentifier