1 | <?php |
||
31 | class GenericRouterGenericServer extends GenericServer |
||
32 | { |
||
33 | /** |
||
34 | * GenericRouterGenericServer constructor. |
||
35 | * @param AccessControl $accessControl |
||
36 | * @param Throttle $throttle |
||
37 | * @param ResponseFactory $responseFactory |
||
38 | * @param GenericRouter $router |
||
39 | */ |
||
40 | 8 | public function __construct( |
|
48 | |||
49 | |||
50 | /** |
||
51 | * @param APIRequest $request |
||
52 | * @return APIResponse |
||
53 | * @throws UnableToHandleRequestException |
||
54 | * @throws InvalidAPIKeyException |
||
55 | * @throws ThrottleLimitExceededException |
||
56 | * @throws NotAcceptableResponseTypeException |
||
57 | * @throws AccessDeniedException |
||
58 | * @throws UnableToRouteRequestException |
||
59 | * @throws UnableToCreateEndpointException |
||
60 | * @throws MethodNotFoundException |
||
61 | * @throws EndpointExecutionException |
||
62 | * @throws UnsupportedMethodException |
||
63 | * @throws ElementNotFoundException |
||
64 | * @throws InvalidRequestException |
||
65 | * @throws ElementConflictException |
||
66 | * @throws UnableToCreateAPIResponseException |
||
67 | */ |
||
68 | 8 | public function handleRequest(APIRequest $request): APIResponse |
|
72 | } |
||
73 |