On Tue, Apr 23, 2019 at 1:53 AM Patrick Dirks <[email protected]> wrote:

> ...
> @javax.annotation.Generated(value =
> "io.swagger.codegen.languages.JavaJerseyServerCodegen", date =
> "2019-03-15T17:47:31.462Z")
> public class HostsApiServiceImpl extends HostsApiService {
>     ...
>     @Override
>     public Response addHost(HostSpec hs, SecurityContext securityContext)
> throws NotFoundException {
>     ...
>
>
> and, sure enough, if the header and body are sent together, the ‘hs’
> parameter refers to a properly formatted HostSpec with the fields I passed
> from the client stubs.  When the body is not yet present, however, that
> parameter is null.  Are you saying I should be explicitly checking for
> “null” body parameters and manually waiting to receive + deserialize the
> ‘body’ parameter?
>

This is a question for the JAX-RS folks. Sorry.

Joakim Erdfelt / [email protected]
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to