本文整理了Java中org.raml.model.Action.setQueryParameters()
方法的一些代码示例,展示了Action.setQueryParameters()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Action.setQueryParameters()
方法的具体详情如下:
包路径:org.raml.model.Action
类名称:Action
方法名:setQueryParameters
暂无
代码示例来源:origin: com.sap.cloud.yaas.service-generator/service-generator-raml
@Override
public Map<ActionType, Action> resolve(final Resource resource)
{
final ImmutableMap.Builder<ActionType, Action> actions = ImmutableMap.builder();
for (final Method m : resource.getMethods())
{
final Action action = new Action();
action.setDescription(m.getDescription());
action.setBody(bodyParamResolver.resolve(m));
action.setQueryParameters(queryParamsResolver.resolve(getParametersFor(m.getParameters(), ParameterType.QUERY)));
action.setHeaders(headerParamsResolver.resolve(getParametersFor(m.getParameters(), ParameterType.HEADER)));
// action.setResource();
action.setResponses(responseResolver.resolve(m));
actions.put(getActionType(m.getMethodType()), action);
}
return actions.build();
}
代码示例来源:origin: org.restlet.jee/org.restlet.ext.apispark
action.setQueryParameters(new LinkedHashMap<String, org.raml.model.parameter.QueryParameter>());
for (QueryParameter queryParameter : operation
.getQueryParameters()) {
代码示例来源:origin: org.restlet.gae/org.restlet.ext.platform
action.setQueryParameters(new LinkedHashMap<String, org.raml.model.parameter.QueryParameter>());
for (QueryParameter queryParameter : operation
.getQueryParameters()) {
代码示例来源:origin: org.restlet.jee/org.restlet.ext.platform
action.setQueryParameters(new LinkedHashMap<String, org.raml.model.parameter.QueryParameter>());
for (QueryParameter queryParameter : operation
.getQueryParameters()) {
代码示例来源:origin: org.restlet.jse/org.restlet.ext.platform
action.setQueryParameters(new LinkedHashMap<String, org.raml.model.parameter.QueryParameter>());
for (QueryParameter queryParameter : operation
.getQueryParameters()) {
代码示例来源:origin: org.restlet.osgi/org.restlet.ext.platform
action.setQueryParameters(new LinkedHashMap<String, org.raml.model.parameter.QueryParameter>());
for (QueryParameter queryParameter : operation
.getQueryParameters()) {
内容来源于网络,如有侵权,请联系作者删除!