Class UpsertSearchIndexRequest
- java.lang.Object
-
- com.couchbase.client.core.msg.BaseRequest<UpsertSearchIndexResponse>
-
- com.couchbase.client.core.msg.search.UpsertSearchIndexRequest
-
- All Implemented Interfaces:
Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>
,NonChunkedHttpRequest<UpsertSearchIndexResponse>
,Request<UpsertSearchIndexResponse>
public class UpsertSearchIndexRequest extends BaseRequest<UpsertSearchIndexResponse> implements NonChunkedHttpRequest<UpsertSearchIndexResponse>
-
-
Constructor Summary
Constructors Constructor Description UpsertSearchIndexRequest(Duration timeout, CoreContext ctx, RetryStrategy retryStrategy, Credentials credentials, String name, byte[] payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpsertSearchIndexResponse
decode(com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpResponse response)
com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest
encode()
ServiceType
serviceType()
The service type of this request.-
Methods inherited from class com.couchbase.client.core.msg.BaseRequest
cancel, cancellationReason, cancelled, completed, context, fail, failed, id, response, retryStrategy, serviceContext, succeed, succeeded, timeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.couchbase.client.core.msg.Request
cancel, cancellationReason, cancelled, completed, context, fail, failed, id, response, retryStrategy, serviceContext, succeed, succeeded, timeout
-
-
-
-
Constructor Detail
-
UpsertSearchIndexRequest
public UpsertSearchIndexRequest(Duration timeout, CoreContext ctx, RetryStrategy retryStrategy, Credentials credentials, String name, byte[] payload)
-
-
Method Detail
-
encode
public com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest encode()
-
decode
public UpsertSearchIndexResponse decode(com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpResponse response)
- Specified by:
decode
in interfaceNonChunkedHttpRequest<UpsertSearchIndexResponse>
-
serviceType
public ServiceType serviceType()
Description copied from interface:Request
The service type of this request.- Specified by:
serviceType
in interfaceRequest<UpsertSearchIndexResponse>
- Returns:
- the service type for this request.
-
-