I have some requests that implements IReturnVoid however JsonServiceClient has no easy way to send these requests since the different methods does not have overloads for IReturnVoid.
Can you add support for the IReturnVoid interface in your Java JsonServiceClient and possibly the other native type client as well?
Thanks
In case this is useful:
.Net
public class VoidRequest : IReturnVoid
{
public string Name { get; set; }
}
Java
public static class VoidRequest implements IReturnVoid
{
public String name = null;
public String getName() { return name; }
public VoidRequest setName(String value) { this.name = value; return this; }
}
I have a few ‘long running tasks’ that are triggered by a GET method that does not return anything. I understand that you may not want to support it so I’ll handle this case myself.