private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
private boolean supportsParameters(Method method) { if (method.getParameterTypes().length != 1) { return false; } else if (getUnmarshaller() instanceof GenericUnmarshaller) { GenericUnmarshaller genericUnmarshaller = (GenericUnmarshaller) getUnmarshaller(); return genericUnmarshaller.supports(method.getGenericParameterTypes()[0]); } else { return getUnmarshaller().supports(method.getParameterTypes()[0]); } } }
@Override protected boolean supportsRequestPayloadParameter(MethodParameter parameter) { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { return false; } else if (unmarshaller instanceof GenericUnmarshaller) { return ((GenericUnmarshaller) unmarshaller).supports(parameter.getGenericParameterType()); } else { return unmarshaller.supports(parameter.getParameterType()); } }
@Override protected boolean supportsRequestPayloadParameter(MethodParameter parameter) { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { return false; } else if (unmarshaller instanceof GenericUnmarshaller) { return ((GenericUnmarshaller) unmarshaller).supports(parameter.getGenericParameterType()); } else { return unmarshaller.supports(parameter.getParameterType()); } }
@Override protected boolean supportsRequestPayloadParameter(MethodParameter parameter) { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { return false; } else if (unmarshaller instanceof GenericUnmarshaller) { return ((GenericUnmarshaller) unmarshaller).supports(parameter.getGenericParameterType()); } else { return unmarshaller.supports(parameter.getParameterType()); } }
@Override protected boolean supportsRequestPayloadParameter(MethodParameter parameter) { Unmarshaller unmarshaller = getUnmarshaller(); if (unmarshaller == null) { return false; } else if (unmarshaller instanceof GenericUnmarshaller) { return ((GenericUnmarshaller) unmarshaller).supports(parameter.getGenericParameterType()); } else { return unmarshaller.supports(parameter.getParameterType()); } }