本文整理了Java中org.apache.cxf.jaxrs.utils.ResourceUtils.getActualJaxbType
方法的一些代码示例,展示了ResourceUtils.getActualJaxbType
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceUtils.getActualJaxbType
方法的具体详情如下:
包路径:org.apache.cxf.jaxrs.utils.ResourceUtils
类名称:ResourceUtils
方法名:getActualJaxbType
暂无
代码示例来源:origin: com.tomitribe.tribestream/tribestream-container
theActualType = InjectionUtils.getActualType(opMethod.getGenericReturnType());
} else {
theActualType = ResourceUtils.getActualJaxbType(type, opMethod, false);
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
.getGenericParameterTypes()[getRequestBodyParam(ori).getIndex()]);
} else {
theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
代码示例来源:origin: apache/cxf
theActualType = InjectionUtils.getActualType(genericType);
} else {
theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
代码示例来源:origin: org.apache.cxf/cxf-rt-rs-service-description
theActualType = InjectionUtils.getActualType(genericType);
} else {
theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
Class<?> cls = realReturnType;
if (cls == Response.class) {
cls = getActualJaxbType(cls, method, false);
代码示例来源:origin: com.tomitribe.tribestream/tribestream-container
@Override
public Representation handleResponseRepresentation(final ClassResourceInfo cri, final OperationResourceInfo ori, final Class<?> type, final MediaType mediaType) {
final Representation representation = getNext().handleResponseRepresentation(cri, ori, type, mediaType);
if (representation == null || definition == null) {
return null;
}
final boolean isCollection = InjectionUtils.isSupportedCollectionOrArray(type);
Class<?> theActualType = type;
java.lang.reflect.Method opMethod = getMethod(ori);
if (isCollection) {
theActualType = InjectionUtils.getActualType(opMethod.getGenericReturnType());
} else {
theActualType = ResourceUtils.getActualJaxbType(type, opMethod, false);
}
final QName name = definition.resolve(theActualType);
if (name != null) {
representation.setElement(name);
}
return representation;
}
代码示例来源:origin: com.tomitribe.tribestream/tribestream-container
returnType = InjectionUtils.getActualType(reflectMethod.getGenericReturnType());
} else {
returnType = ResourceUtils.getActualJaxbType(returnType, reflectMethod, false);
代码示例来源:origin: apache/cxf
Class<?> cls = realReturnType;
if (cls == Response.class || ori.isAsync()) {
cls = getActualJaxbType(cls, method, false);
内容来源于网络,如有侵权,请联系作者删除!