- <init>
- appendAllJs
Helper to append a bunch of JS.
- appendExtern
Appends a line of extern.
- appendJs
Appends more JS to the response.
- appendRawExtern
Appends a blob of raw extern.
- build
Builds a JsResponse object with the provided data.
- clearJs
Deletes all JavaScript code in the builder.
- prependJs
Prepend a JS to the response.
- setCacheTtlSecs
Sets the cache TTL in seconds for the response being built. 0 seconds means "no
cache"; a value belo
- setProxyCacheable
Sets whether the response can be cached by intermediary proxies.
- setStatusCode
Sets the HTTP status code.
- addError
Adds an error to the response