public final class AssertingTransportInterceptor
extends java.lang.Object
implements org.elasticsearch.transport.TransportInterceptor
ElasticsearchAssertions.assertVersionSerializable(Streamable)
to all requests and response objects send across the wireModifier and Type | Class and Description |
---|---|
static class |
AssertingTransportInterceptor.TestPlugin |
Constructor and Description |
---|
AssertingTransportInterceptor(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry) |
Modifier and Type | Method and Description |
---|---|
<T extends org.elasticsearch.transport.TransportRequest> |
interceptHandler(java.lang.String action,
java.lang.String executor,
boolean forceExecution,
org.elasticsearch.transport.TransportRequestHandler<T> actualHandler) |
org.elasticsearch.transport.TransportInterceptor.AsyncSender |
interceptSender(org.elasticsearch.transport.TransportInterceptor.AsyncSender sender) |
public AssertingTransportInterceptor(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry)
public <T extends org.elasticsearch.transport.TransportRequest> org.elasticsearch.transport.TransportRequestHandler<T> interceptHandler(java.lang.String action, java.lang.String executor, boolean forceExecution, org.elasticsearch.transport.TransportRequestHandler<T> actualHandler)
interceptHandler
in interface org.elasticsearch.transport.TransportInterceptor
public org.elasticsearch.transport.TransportInterceptor.AsyncSender interceptSender(org.elasticsearch.transport.TransportInterceptor.AsyncSender sender)
interceptSender
in interface org.elasticsearch.transport.TransportInterceptor