protected Builder(Class<?> api, Class<?> asyncApi) { checkNotNull(api, "api"); checkNotNull(asyncApi, "asyncApi"); javaApi(api, asyncApi) .name(String.format("%s->%s", api.getSimpleName(), asyncApi.getSimpleName())) .context(contextToken(typeToken(api), typeToken(asyncApi))) .defaultProperties(BaseRestApiMetadata.defaultProperties()); }
/** * {@inheritDoc} */ @Override public T javaApi(Class<?> api, Class<?> asyncApi) { this.api = checkNotNull(api, "api"); this.asyncApi = checkNotNull(asyncApi, "asyncApi"); return self(); }
@Override public Builder fromApiMetadata(ApiMetadata in) { super.fromApiMetadata(in); return this; }
@Override public Builder fromApiMetadata(ApiMetadata in) { super.fromApiMetadata(in); return this; }
@Override public Builder fromApiMetadata(ApiMetadata in) { super.fromApiMetadata(in); return this; }
@Override public Builder fromApiMetadata(ApiMetadata in) { super.fromApiMetadata(in); return this; }
@Override public Builder fromApiMetadata(ApiMetadata in) { super.fromApiMetadata(in); return this; }
protected Builder(Class<?> api, Class<?> asyncApi) { checkNotNull(api, "api"); checkNotNull(asyncApi, "asyncApi"); javaApi(api, asyncApi) .name(String.format("%s->%s", api.getSimpleName(), asyncApi.getSimpleName())) .context(contextToken(typeToken(api), typeToken(asyncApi))) .defaultProperties(BaseRestApiMetadata.defaultProperties()); }
/** * {@inheritDoc} */ @Override public T javaApi(Class<?> api, Class<?> asyncApi) { this.api = checkNotNull(api, "api"); this.asyncApi = checkNotNull(asyncApi, "asyncApi"); return self(); }
/** * {@inheritDoc} */ @Override public T javaApi(Class<?> api, Class<?> asyncApi) { this.api = checkNotNull(api, "api"); this.asyncApi = checkNotNull(asyncApi, "asyncApi"); return self(); }
protected Builder(Class<?> api, Class<?> asyncApi) { checkNotNull(api, "api"); checkNotNull(asyncApi, "asyncApi"); javaApi(api, asyncApi) .name(String.format("%s->%s", api.getSimpleName(), asyncApi.getSimpleName())) .context(contextToken(typeToken(api), typeToken(asyncApi))) .defaultProperties(BaseRestApiMetadata.defaultProperties()); }