class RefreshIndexRequest extends AbstractRefreshIndexRequest
Class RefreshIndexRequest
This request returns successful empty response. If not existing index, there will be an exception at client send.
Constants
REQUEST_ACTION |
|
Methods
__construct(string $index, string $type, SerializerInterface $serializer, array $serializerParams = array())
|
from AbstractBaseRequest | |
null|string |
getIndex()
|
from AbstractBaseRequest |
null|string |
getType()
|
from AbstractRefreshIndexRequest |
SerializerInterface |
getSerializer()
|
from AbstractBaseRequest |
array |
getSerializerParams()
|
from AbstractBaseRequest |
string |
getMethod()
|
from AbstractRefreshIndexRequest |
null|string |
getAction()
|
from AbstractRefreshIndexRequest |
mixed |
getBody()
|
from AbstractRefreshIndexRequest |
void |
setBody(mixed $body)
|
from AbstractRefreshIndexRequest |
RefreshIndexResponse |
createResponse(string $rawData, SerializerInterface $serializer, array $serializerParams = array())
|
|
string |
getSupportedClass()
gets a response class name that is supported by this class |
Details
in AbstractBaseRequest at line 59
public
__construct(string $index, string $type, SerializerInterface $serializer, array $serializerParams = array())
in AbstractBaseRequest at line 76
public null|string
getIndex()
in AbstractRefreshIndexRequest at line 53
public null|string
getType()
in AbstractBaseRequest at line 93
public SerializerInterface
getSerializer()
in AbstractBaseRequest at line 101
public array
getSerializerParams()
in AbstractRefreshIndexRequest at line 37
public string
getMethod()
in AbstractRefreshIndexRequest at line 45
public null|string
getAction()
in AbstractRefreshIndexRequest at line 61
public mixed
getBody()
in AbstractRefreshIndexRequest at line 69
public void
setBody(mixed $body)
at line 43
public RefreshIndexResponse
createResponse(string $rawData, SerializerInterface $serializer, array $serializerParams = array())
at line 57
public string
getSupportedClass()
gets a response class name that is supported by this class