ICanBoogie
  • Documentation
  • API Reference
  • HTTP v2.4.0
Namespaces
  • ICanBoogie
    • Exception
    • HTTP
      • Dispatcher
      • Headers
      • Request
Classes
  • CallableDispatcher
  • Dispatcher
  • File
  • FileInfo
  • FileList
  • Headers
  • Helpers
  • RedirectResponse
  • Request
  • Response
  • Status
  • WeightedDispatcher
Interfaces
  • DispatcherInterface
  • Exception
Exceptions
  • DispatcherNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • ServiceUnavailable
  • StatusCodeNotValid

Class MethodNotSupported

Exception thrown when the HTTP method is not supported.

Exception implements Throwable
┗ ICanBoogie\HTTP\MethodNotSupported implements ICanBoogie\HTTP\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\HTTP
Located at MethodNotSupported.php

Methods summary

protected get_method( void )
public __construct( string $method, integer $code = 500, ICanBoogie\HTTP\Exception $previous = null )

Parameters

$method
The unsupported HTTP method.
$code
$previous

Overrides

Exception::__construct

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only $method : string

The unsupported HTTP method.

HTTP v2.4.0 – Check on GitHub – API documentation generated by ApiGen