__construct(Request $request, PluginHooksService $hooks, AjaxService $ajax, ResponseTransport $transport) | Elgg\Http\ResponseFactory | |
getHeaders($remove_existing=true) | Elgg\Http\ResponseFactory | |
getSentResponse() | Elgg\Http\ResponseFactory | |
isAction() | Elgg\Http\ResponseFactory | |
isXhr() | Elgg\Http\ResponseFactory | |
normalize($content= '') | Elgg\Http\ResponseFactory | |
parseContext() | Elgg\Http\ResponseFactory | |
prepareRedirectResponse($url, $status=302, array $headers=array()) | Elgg\Http\ResponseFactory | |
prepareResponse($content= '', $status=200, array $headers=array()) | Elgg\Http\ResponseFactory | |
redirect($forward_url=REFERRER, $status_code=ELGG_HTTP_FOUND) | Elgg\Http\ResponseFactory | |
respond(ResponseBuilder $response) | Elgg\Http\ResponseFactory | |
respondFromContent($content= '', $status_code=ELGG_HTTP_OK, array $headers=[]) | Elgg\Http\ResponseFactory | |
respondWithError($error, $status_code=ELGG_HTTP_BAD_REQUEST, array $headers=[]) | Elgg\Http\ResponseFactory | |
send(Response $response) | Elgg\Http\ResponseFactory | |
setHeader($name, $value, $replace=true) | Elgg\Http\ResponseFactory | |
stringify($content= '') | Elgg\Http\ResponseFactory | |
wrapLegacyAjaxResponse($content= '', $forward_url=REFERRER) | Elgg\Http\ResponseFactory | |