public static class ClientContext.ConnectionContext extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
bufferSize() |
ClientContext.ConnectionContext |
bufferSize(int size) |
String |
endpointPublicCertPem() |
boolean |
secure() |
ClientContext.ConnectionContext |
secure(boolean value) |
boolean |
staleChecking() |
ClientContext.ConnectionContext |
staleChecking(boolean value) |
int |
timeout() |
ClientContext.ConnectionContext |
timeout(int timeout) |
String |
truststoreLocation() |
String |
truststorePass() |
ClientContext.ConnectionContext |
withPublicCertPem(String endpointPublicCertPem) |
ClientContext.ConnectionContext |
withTruststore(String truststoreLocation,
String truststorePass) |
public int timeout()
public ClientContext.ConnectionContext timeout(int timeout)
public boolean staleChecking()
public ClientContext.ConnectionContext staleChecking(boolean value)
public boolean secure()
public ClientContext.ConnectionContext secure(boolean value)
public int bufferSize()
public ClientContext.ConnectionContext bufferSize(int size)
public ClientContext.ConnectionContext withTruststore(String truststoreLocation, String truststorePass)
public ClientContext.ConnectionContext withPublicCertPem(String endpointPublicCertPem)
public String truststoreLocation()
public String truststorePass()
public String endpointPublicCertPem()
Copyright © 2020 The Apache Software Foundation. All rights reserved.