OCSMiddleware

class OC\AppFramework\Middleware\OCSMiddleware
Source:lib/private/AppFramework/Middleware/OCSMiddleware.php#41
Parent:OCP\AppFramework\Middleware

Properties

Methods

public OC\AppFramework\Middleware\OCSMiddleware::__construct($request)
Source:

lib/private/AppFramework/Middleware/OCSMiddleware.php#52

Parameters:
public OC\AppFramework\Middleware\OCSMiddleware::beforeController($controller, $methodName)
Source:

lib/private/AppFramework/Middleware/OCSMiddleware.php#60

Parameters:
public OC\AppFramework\Middleware\OCSMiddleware::afterException($controller, $methodName, $exception)
Source:

lib/private/AppFramework/Middleware/OCSMiddleware.php#78

Parameters:
Throws:

\Exception

Returns:

\OC\AppFramework\OCS\BaseResponse

public OC\AppFramework\Middleware\OCSMiddleware::afterController($controller, $methodName, $response)
Source:

lib/private/AppFramework/Middleware/OCSMiddleware.php#97

Parameters:
Returns:

\OCP\AppFramework\Http\Response