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