ILIAS  trunk Revision v12.0_alpha-1329-g1094ddb0c33
ILIAS\StaticURL\Response\CannotHandle Class Reference

Returned by a Handler when it cannot process the given Request at all, e.g. More...

+ Inheritance diagram for ILIAS\StaticURL\Response\CannotHandle:
+ Collaboration diagram for ILIAS\StaticURL\Response\CannotHandle:

Public Member Functions

 getURIPath ()
 
 targetCanBeReached ()
 
 shift ()
 
 getURIPath ()
 
 targetCanBeReached ()
 
 shift ()
 

Detailed Description

Returned by a Handler when it cannot process the given Request at all, e.g.

because the Request is malformed or references an unknown sub-target.

This is a programmer/contract-level signal; it does NOT mean that the current user merely lacks permission (use {

See also
CannotReach} or {
MaybeCanHandlerAfterLogin} for that).

The HandlerService will respond with HTTP 404.

See also
\ILIAS\StaticURL\Response\Factory::cannot()
Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 34 of file CannotHandle.php.

Member Function Documentation

◆ getURIPath()

ILIAS\StaticURL\Response\CannotHandle::getURIPath ( )

Implements ILIAS\StaticURL\Response\Response.

Definition at line 36 of file CannotHandle.php.

36 : ?string
37 {
38 return null;
39 }

◆ shift()

ILIAS\StaticURL\Response\CannotHandle::shift ( )

Implements ILIAS\StaticURL\Response\Response.

Definition at line 46 of file CannotHandle.php.

46 : int
47 {
48 return 0;
49 }

◆ targetCanBeReached()

ILIAS\StaticURL\Response\CannotHandle::targetCanBeReached ( )

Implements ILIAS\StaticURL\Response\Response.

Definition at line 41 of file CannotHandle.php.

41 : bool
42 {
43 return false;
44 }

The documentation for this class was generated from the following file: