return path(name, toBeanMap(value), serializer, schema); } else if (value != null) { throw new RestCallException("Invalid name ''{0}'' passed to path(name,value) for data type ''{1}''", name, getReadableClassNameForObject(value));
return path(name, toBeanMap(value), serializer, schema); } else if (value != null) { throw new RestCallException("Invalid name ''{0}'' passed to path(name,value) for data type ''{1}''", name, getReadableClassNameForObject(value));
return path(name, toBeanMap(value), serializer, schema); } else if (value != null) { throw new RestCallException("Invalid name ''{0}'' passed to path(name,value) for data type ''{1}''", name, getReadableClassNameForObject(value));
return formData(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else if (value instanceof Reader || value instanceof InputStream) { contentType("application/x-www-form-urlencoded");
return formData(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else if (value instanceof Reader || value instanceof InputStream) { contentType("application/x-www-form-urlencoded");
return header(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else { throw new RestCallException("Invalid name ''{0}'' passed to header(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
return formData(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else if (value instanceof Reader || value instanceof InputStream) { contentType("application/x-www-form-urlencoded");
return header(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else { throw new RestCallException("Invalid name ''{0}'' passed to header(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
return header(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else { throw new RestCallException("Invalid name ''{0}'' passed to header(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
return query(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else if (value instanceof Reader || value instanceof InputStream) { try {
return query(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else if (value instanceof Reader || value instanceof InputStream) { try {
return query(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else if (value instanceof Reader || value instanceof InputStream) { try {