Annotation Type Nullable


@Target({PARAMETER,METHOD}) @Retention(RUNTIME) public @interface Nullable
Some JAX-RS providers, notably JAXB-based ones return 400 when the incoming payload is empty. This annotation can be attached to a method parameter identifying a request body in order to get a null injected instead