PHP Class Neomerx\JsonApi\Http\Headers\RestrictiveHeadersChecker

Inheritance: implements Neomerx\JsonApi\Contracts\Http\Headers\HeadersCheckerInterface
ファイルを表示 Open project: neomerx/json-api

Public Methods

Method Description
__construct ( Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface $codecMatcher )
checkHeaders ( Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface $parameters ) : void

Protected Methods

Method Description
checkAcceptHeader ( Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface $parameters ) : void
checkContentTypeHeader ( Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface $parameters ) : void

Method Details

__construct() public method

public __construct ( Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface $codecMatcher )
$codecMatcher Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface

checkAcceptHeader() protected method

protected checkAcceptHeader ( Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface $parameters ) : void
$parameters Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface
return void

checkContentTypeHeader() protected method

protected checkContentTypeHeader ( Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface $parameters ) : void
$parameters Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface
return void

checkHeaders() public method

public checkHeaders ( Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface $parameters ) : void
$parameters Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface
return void