本文整理汇总了Java中io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate类的典型用法代码示例。如果您正苦于以下问题:Java ApiRequestFilterDelegate类的具体用法?Java ApiRequestFilterDelegate怎么用?Java ApiRequestFilterDelegate使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ApiRequestFilterDelegate类属于io.github.ibuildthecloud.gdapi.servlet包,在下文中一共展示了ApiRequestFilterDelegate类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setupServlet
import io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate; //导入依赖的package包/类
private void setupServlet() {
Map<String, SchemaFactory> factories = new HashMap<>();
factories.put("v2", f.coreSchemaFactory);
factories.put("v2-beta", f.coreSchemaFactory);
factories.put("v3", f.coreSchemaFactory);
apiRequestFilterDelegate = new ApiRequestFilterDelegate(versions, new ApiRequestParser(), c.router, factories, f.idFormatter);
}
示例2: getApiRequestFilterDelegate
import io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate; //导入依赖的package包/类
public ApiRequestFilterDelegate getApiRequestFilterDelegate() {
return api.getApiRequestFilterDelegate();
}
示例3: getApiRequestFilterDelegate
import io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate; //导入依赖的package包/类
public ApiRequestFilterDelegate getApiRequestFilterDelegate() {
return apiRequestFilterDelegate;
}
示例4: getDelegate
import io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate; //导入依赖的package包/类
public ApiRequestFilterDelegate getDelegate() {
return delegate;
}
示例5: setDelegate
import io.github.ibuildthecloud.gdapi.servlet.ApiRequestFilterDelegate; //导入依赖的package包/类
@Inject
public void setDelegate(ApiRequestFilterDelegate delegate) {
this.delegate = delegate;
}