Uses of Class
io.nitric.http.HttpResponse
-
Packages that use HttpResponse Package Description io.nitric.http Provides the HTTP Server (FaaS) classes. -
-
Uses of HttpResponse in io.nitric.http
Methods in io.nitric.http that return HttpResponse Modifier and Type Method Description static HttpResponse
HttpResponse. build(int status)
Return a new HTTP response object from the given status.static HttpResponse
HttpResponse. build(int status, String body)
Return a new HttpResponse object from the given Nitric status and body text.static HttpResponse
HttpResponse. build(String body)
Return a new HTTP response object from the given body text.HttpResponse
HttpResponse.Builder. build()
Return a new HTTP response object.HttpResponse
HttpHandler. handle(HttpRequest request)
Handle the HTTP request.
-