public class ContentTypeParam extends FixedParam<org.apache.http.entity.ContentType>
defaultValue, valueexpression, paramType| Modifier | Constructor and Description |
|---|---|
protected |
ContentTypeParam(String value) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildCode(String indent) |
Set<String> |
getImports()
Gets all classes that are required to be statically imported by generated code.
|
getValue, isDefaultbuildStringLiteral, findConstantNames, findConstantNamesMap, getExpression, getMethodDefinitions, getStaticImports, getType, isIgnoredprotected ContentTypeParam(String value)
public Set<String> getImports()
MethodParamOverride this method if you implement a custom MethodParam that requires some particular static import.
getImports in class MethodParampublic String buildCode(String indent)
buildCode in class FixedParam<org.apache.http.entity.ContentType>Copyright © 2023. All rights reserved.