CorujaRequestFactory class abstract

Define uma interface para todas as fábricas de requisições do Coruja.

É um abstract factory

Quando uma requisição chega ao Coruja, um objeto CorujaRequest é criado usando-se a fábrica padrão. Esse objeto fornece facilidades para manusear a requisição.

A fábrica CorujaJsonRequestFactory é um exemplo de fábrica personalizada que retorna uma instância personalizada do CorujaRequest. A definição dela contém um exemplo de uso.

Implementers

Constructors

CorujaRequestFactory()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(HttpRequest request, Map<String, String> routeParams) CorujaRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited