Ejemplo n.º 1
0
 function httpRequestHasEndpoint(http\request $request, endpoint $endpoint)
 {
     $this->request->recipientOfHttpRequestDataAggregatorIs($this);
     $request->recipientOfHttpRequestDataAggregatorIs($this);
     $this->controller->httpRequestHasEndpoint($this->request->httpRequestDataAggregatorIs($this->requestDataAggregator), $endpoint);
     $this->controller = new controller\blackhole();
     return $this;
 }
Ejemplo n.º 2
0
 function recipientOfMergeOfHttpRequestsIs(http\request $a, http\request $b, http\request\merged\recipient $recipient)
 {
     $merger = clone $this;
     $merger->request = $a;
     $b->recipientOfHttpRequestDataIs($merger);
     $recipient->mergedHttpRequestIs($merger->request);
     return $this;
 }
Ejemplo n.º 3
0
 function httpRouteIndexerControllerHasRequest(http\route\indexer\controller $controller, http\request $request)
 {
     $indexer = clone $this;
     $indexer->request = $request;
     $indexer->controller = $controller;
     $request->recipientOfHttpRequestUriIs($indexer);
     return $this;
 }
Ejemplo n.º 4
0
 function outputOfHttpRequestIs(http\request $request, output $output)
 {
     $formater = clone $this;
     $formater->output = $output;
     $formater->noDataAggregatorFormater = $formater->defaultDataAggregatorFormater;
     $request->recipientOfHttpRequestDataAggregatorIs($formater);
     $formater->noDataAggregatorFormater->outputIs($formater->output);
     return $this;
 }
Ejemplo n.º 5
0
 function outputOfHttpRequestIs(request $request, output $output)
 {
     $formater = clone $this;
     $formater->output = $output;
     $formater->noRequestLineFormater = $formater->defaultRequestLineFormater;
     $request->recipientOfHttpRequestLineIs($formater);
     $formater->noRequestLineFormater->outputIs($formater->output);
     $formater->output->endOfLine();
     return $this;
 }
Ejemplo n.º 6
0
 function outputOfHttpRequestIs(request $request, output $output)
 {
     $formater = clone $this;
     $formater->output = $output;
     $formater->noHeaderAggregatorFormater = $formater->defaultHeaderAggregatorFormater;
     $request->recipientOfHttpHeaderAggregatorIs($formater);
     $formater->noHeaderAggregatorFormater->outputIs($formater->output);
     $formater->output->endOfLine();
     $formater->output->endOfLine();
     return $this;
 }
Ejemplo n.º 7
0
 function httpRouteHasRequest(route $route, request $request)
 {
     $request->httpRouteHasUri($route, $this);
     return $this;
 }
Ejemplo n.º 8
0
 function httpRouteHasRequest(http\route $route, http\request $request)
 {
     $request->httpRouteHasMethod($route, $this);
     return $this;
 }