@Generated(value="SparkTools") public static final class HttpResponse.Builder extends Object
HttpResponse.| Modifier and Type | Method and Description |
|---|---|
HttpResponse.Builder |
body(AsyncContentProvider body)
The body of the HTTP response.
|
HttpResponse |
build()
The body of the HTTP response.
|
HttpResponse.Builder |
headers(Map<String,String> headers)
The headers of the HTTP response.
|
HttpResponse.Builder |
status(int status)
The status of the HTTP response.
|
public HttpResponse.Builder body(AsyncContentProvider body)
public HttpResponse build()
public HttpResponse.Builder headers(Map<String,String> headers)
public HttpResponse.Builder status(int status)
Copyright © 2011–2019 Everit Kft.. All rights reserved.