class IndexExistsRequest extends AbstractIndexExistsRequest
Class CreateDocumentRequest
This request returns successful empty response. If not existing index, there will be an exception at client send.
Methods
__construct(string $index, string $type, SerializerInterface $serializer, array $serializerParams = array())
|
from AbstractBaseRequest | |
null|string |
getIndex()
|
from AbstractBaseRequest |
null|string |
getType()
|
from AbstractIndexExistsRequest |
SerializerInterface |
getSerializer()
|
from AbstractBaseRequest |
array |
getSerializerParams()
|
from AbstractBaseRequest |
string |
getMethod()
|
from AbstractIndexExistsRequest |
null|string |
getAction()
|
from AbstractIndexExistsRequest |
mixed |
getBody()
|
from AbstractIndexExistsRequest |
void |
setBody(mixed $body)
|
from AbstractIndexExistsRequest |
Response |
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 AbstractIndexExistsRequest at line 52
public null|string
getType()
in AbstractBaseRequest at line 93
public SerializerInterface
getSerializer()
in AbstractBaseRequest at line 101
public array
getSerializerParams()
in AbstractIndexExistsRequest at line 36
public string
getMethod()
in AbstractIndexExistsRequest at line 44
public null|string
getAction()
in AbstractIndexExistsRequest at line 60
public mixed
getBody()
in AbstractIndexExistsRequest at line 68
public void
setBody(mixed $body)
at line 43
public Response
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