public class FetchBasedImplementationGenerator extends BaseImplementationGenerator
| Constructor and Description |
|---|
FetchBasedImplementationGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComplexTypeUsage(TSClass tsClass) |
void |
addImplementationSpecificFields(TSComplexType tsComplexType) |
protected void |
addRequestParameter(StringBuilder requestParamsBuilder,
String requestParamsVar,
TSParameter tsParameter,
String requestParamName) |
List<TSDecorator> |
getDecorators(TSClass tsClass) |
List<TSDecorator> |
getDecorators(TSMethod tsMethod) |
SortedSet<TSField> |
getImplementationSpecificFields(TSComplexType tsComplexType) |
List<TSParameter> |
getImplementationSpecificParameters(TSMethod method) |
protected void |
initializeHttpParams(StringBuilder requestParamsBuilder) |
TSType |
mapReturnType(TSMethod tsMethod,
TSType tsType) |
void |
write(BufferedWriter writer,
TSMethod method) |
addPathVariable, assignMethodParameters, callToStringOnParameterIfRequired, getConsumesContentType, getPathFromRequestMapping, isStringBuilderEmpty, replaceInStringBuilderpublic void write(BufferedWriter writer, TSMethod method) throws IOException
IOExceptionprotected void initializeHttpParams(StringBuilder requestParamsBuilder)
initializeHttpParams in class BaseImplementationGeneratorprotected void addRequestParameter(StringBuilder requestParamsBuilder, String requestParamsVar, TSParameter tsParameter, String requestParamName)
addRequestParameter in class BaseImplementationGeneratorpublic SortedSet<TSField> getImplementationSpecificFields(TSComplexType tsComplexType)
public List<TSParameter> getImplementationSpecificParameters(TSMethod method)
public List<TSDecorator> getDecorators(TSMethod tsMethod)
public List<TSDecorator> getDecorators(TSClass tsClass)
public void addComplexTypeUsage(TSClass tsClass)
public void addImplementationSpecificFields(TSComplexType tsComplexType)
Copyright © 2019 blue veery GmbH. All rights reserved.