ICanBoogie
  • Documentation
  • API Reference
  • HTTP v2.5.0
Namespaces
  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher
Classes
  • CallableDispatcher
  • File
  • FileInfo
  • FileList
  • FileResponse
  • Headers
  • RedirectResponse
  • Request
  • RequestDispatcher
  • RequestRange
  • Response
  • Status
  • WeightedDispatcher
Interfaces
  • Dispatcher
  • Exception
  • SecurityError
Exceptions
  • AuthenticationRequired
  • ClientError
  • DispatcherNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • PermissionRequired
  • ServerError
  • ServiceUnavailable
  • StatusCodeNotValid

Class MethodNotSupported

Exception thrown when the HTTP method is not supported.

Exception implements Throwable
┗ ICanBoogie\HTTP\ClientError implements ICanBoogie\HTTP\Exception
┗ 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 ) : string

Returns

string
public __construct( string $method, integer $code = Status::INTERNAL_SERVER_ERROR, ICanBoogie\HTTP\Exception $previous = null )

Parameters

$method
The unsupported HTTP method.
$code
$previous

Overrides

ICanBoogie\HTTP\ClientError::__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.5.0 – Check on GitHub – API documentation generated by ApiGen