Lines Matching defs:HttpResponse
12 class HttpResponse
81 public static function createFromExecutionContext(ExecutionContext $executionContext): HttpResponse
83 return (new HttpResponse())->setExecutionContext($executionContext);
86 public function setExecutionContext(ExecutionContext $executionContext): HttpResponse
93 public static function createFromDokuWikiResponse(\TestResponse $response): HttpResponse
106 return (new HttpResponse())
114 public function setEvent(\Doku_Event $event): HttpResponse
228 function setCanonical($canonical): HttpResponse
236 function addHeader(string $header): HttpResponse
246 function setBodyAsJsonMessage($messages): HttpResponse
258 function setBody(string $body, Mime $mime): HttpResponse
312 function setHeaders(array $headers): HttpResponse
328 function setStatus(int $status): HttpResponse
336 function setStatusAndBodyFromException(\Exception $e): HttpResponse
368 private function setDokuWikiResponse(\TestResponse $response): HttpResponse
383 public function setException(Exception $e): HttpResponse
417 public function executeBodyAsHtmlPage(int $waitTimeInSecondToComplete = 0): HttpResponse