for (int i = 0; i < resourceLocatorBuilder.locator.params.length; i++) resourceLocatorBuilder.param(i).fromAnnotations();
for (int i = 0; i < resourceLocatorBuilder.locator.params.length; i++) resourceLocatorBuilder.param(i).fromAnnotations();
for (int i = 0; i < resourceLocatorBuilder.locator.params.length; i++) resourceLocatorBuilder.param(i).fromAnnotations();
@Override public ResourceMethodParameterBuilder fromAnnotations() { super.fromAnnotations(); if (param.paramType == Parameter.ParamType.SUSPEND || param.paramType == Parameter.ParamType.SUSPENDED) { method.method.asynchronous = true; } else if (param.paramType == Parameter.ParamType.UNKNOWN) { param.paramType = Parameter.ParamType.MESSAGE_BODY; } return this; } }
@Override public ResourceMethodParameterBuilder fromAnnotations() { super.fromAnnotations(); if (param.paramType == Parameter.ParamType.SUSPENDED) { method.method.asynchronous = true; } else if (param.paramType == Parameter.ParamType.UNKNOWN) { param.paramType = Parameter.ParamType.MESSAGE_BODY; } return this; } }
public LocatorMethodParameterBuilder param(int i) { return new LocatorMethodParameterBuilder(this, locator.getParams()[i]); }
public LocatorMethodParameterBuilder param(int i) { return new LocatorMethodParameterBuilder(this, locator.getParams()[i]); }
@Override public ResourceMethodParameterBuilder fromAnnotations() { super.fromAnnotations(); if (param.paramType == Parameter.ParamType.SUSPENDED) { method.method.asynchronous = true; } else if (param.paramType == Parameter.ParamType.UNKNOWN) { param.paramType = Parameter.ParamType.MESSAGE_BODY; } return this; } }
public LocatorMethodParameterBuilder param(int i) { return new LocatorMethodParameterBuilder(this, locator.getParams()[i]); }