public interface HttpResponse
doXyz(...) method could return an object of this type or throw an exception of this type, and if it does so, the object is asked to produce HTTP response.
This is useful to make doXyz look like a real function, and decouple it further from HTTP.
Copyright © 2018. All rights reserved.