private static Set<HeaderDelegateProvider> stealAcquireRefToHeaderDelegateProviders() {
try {
final RuntimeDelegate instance = RuntimeDelegate.getInstance();
final RuntimeDelegateImpl s = (RuntimeDelegateImpl) instance;
final Field declaredField;
declaredField = AbstractRuntimeDelegate.class.getDeclaredField("hps");
declaredField.setAccessible(true);
final Set<HeaderDelegateProvider> get = (Set<HeaderDelegateProvider>) declaredField.get(s);
return get;
} catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException ex) {
throw new RuntimeException(ex);
}
}
JerseyResponseSupport.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:tinytypes
作者:
评论列表
文章目录