1 | <?php |
||
24 | abstract class AbstractShardsCatRequest extends AbstractBaseRequest |
||
25 | { |
||
26 | const REQUEST_ACTION = '_cat'; |
||
27 | const CAT_TYPE = 'shards'; |
||
28 | |||
29 | public function __construct($index, $type, SerializerInterface $serializer, array $serializerParams = array()) |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | */ |
||
39 | public function getMethod() |
||
43 | |||
44 | /** |
||
45 | * @inheritdoc |
||
46 | */ |
||
47 | public function getAction() |
||
51 | |||
52 | /** |
||
53 | * @inheritdoc |
||
54 | */ |
||
55 | public function getIndex() |
||
59 | |||
60 | /** |
||
61 | * @inheritdoc |
||
62 | */ |
||
63 | public function getType() |
||
67 | |||
68 | /** |
||
69 | * @inheritdoc |
||
70 | */ |
||
71 | public function getBody() |
||
75 | |||
76 | /** |
||
77 | * @inheritdoc |
||
78 | */ |
||
79 | public function setBody($body) |
||
83 | } |
||
84 |