public static class TransportRequestOptions.Builder extends Object
Modifier and Type | Method and Description |
---|---|
TransportRequestOptions |
build() |
TransportRequestOptions.Builder |
withCompress(boolean compress) |
TransportRequestOptions.Builder |
withTimeout(long timeout) |
TransportRequestOptions.Builder |
withTimeout(TimeValue timeout) |
TransportRequestOptions.Builder |
withType(TransportRequestOptions.Type type) |
public TransportRequestOptions.Builder withTimeout(long timeout)
public TransportRequestOptions.Builder withTimeout(TimeValue timeout)
public TransportRequestOptions.Builder withCompress(boolean compress)
public TransportRequestOptions.Builder withType(TransportRequestOptions.Type type)
public TransportRequestOptions build()
Copyright © 2009–2016. All rights reserved.