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
-
objectSseStreamingBuilder
- 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
endpointSseStreamingEndpointgeneratorIEndpointGenerator
Returns
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
endpointSseStreamingEndpointgeneratorIEndpointGenerator