Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-08-02 Thread Bruce Lombardi
Thanks again! Bruce Sent from my iPad > On Aug 2, 2014, at 6:26 AM, Andrea Del Bene wrote: > > You can use method AbstractRestResource.setResponseStatusCode >> Thanks Andrea. I'm working this out. Now I have one more question: >> >> How can I return an Http 401 Status Code of Unauthorized if

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-08-02 Thread Andrea Del Bene
You can use method AbstractRestResource.setResponseStatusCode Thanks Andrea. I'm working this out. Now I have one more question: How can I return an Http 401 Status Code of Unauthorized if the password is incorrect? I know I can return values, such as the PersonPojo in the example, and I can re