Uses of Class
org.attribyte.api.http.ResponseBuilder
Packages that use ResponseBuilder
-
Uses of ResponseBuilder in org.attribyte.api.http
Methods in org.attribyte.api.http that return ResponseBuilderModifier and TypeMethodDescriptionResponseBuilder.addAttribute(String name, Object object) Adds an attribute.ResponseBuilder.addAttributes(Map<String, Object> attributes) Adds a map of attributes.Adds a header.ResponseBuilder.addHeaders(Map<?, ?> headerMap) Adds a map of headers.ResponseBuilder.putHeaders(Collection<Header> headers) Adds a collection of headers.ResponseBuilder.setBody(byte[] body) Sets the response body bytes.ResponseBuilder.setBody(com.google.common.io.ByteSource body) Sets aByteSourcefor the response body.Sets the response body as a UTF-8 string.ResponseBuilder.setCookies(Collection<Cookie> cookies) Sets cookies.Sets request/response stats.ResponseBuilder.setStatusCode(int statusCode) Sets the response code.