theActualType = InjectionUtils.getActualType(opMethod.getGenericReturnType()); } else { theActualType = ResourceUtils.getActualJaxbType(type, opMethod, false);
.getGenericParameterTypes()[getRequestBodyParam(ori).getIndex()]); } else { theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
theActualType = InjectionUtils.getActualType(genericType); } else { theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
theActualType = InjectionUtils.getActualType(genericType); } else { theActualType = ResourceUtils.getActualJaxbType(type, opMethod, inbound);
Class<?> cls = realReturnType; if (cls == Response.class) { cls = getActualJaxbType(cls, method, false);
@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; }
returnType = InjectionUtils.getActualType(reflectMethod.getGenericReturnType()); } else { returnType = ResourceUtils.getActualJaxbType(returnType, reflectMethod, false);
Class<?> cls = realReturnType; if (cls == Response.class || ori.isAsync()) { cls = getActualJaxbType(cls, method, false);