Hi,

have anyone a example how I can use different return types in JAX-RS?

Pseudocode:

@GET
public ? getMessage() {

if(IsBinary) {
 return binary;
}

return xml;
}

Cheers,

Michael

Reply via email to