public class GrpcClientProperties extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_SERVER_PORT |
static String |
SERVER_MODEL_CUSTOM
custom Channel
|
static String |
SERVER_MODEL_IN_PROCESS
fully-featured, high performance, useful in testing
|
static String |
SERVER_MODEL_SIMPLE
plaintext without TLS.
|
static String |
SERVER_MODEL_TLS
service with TLS, safely use to talk to external systems
|
| 构造器和说明 |
|---|
GrpcClientProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getClientCertChainFilePath() |
String |
getClientPrivateKeyFilePath() |
String |
getHost() |
String |
getInProcessServerName() |
String |
getModel() |
int |
getPort() |
String |
getTrustCertCollectionFilePath() |
void |
setClientCertChainFilePath(String clientCertChainFilePath) |
void |
setClientPrivateKeyFilePath(String clientPrivateKeyFilePath) |
void |
setHost(String host) |
void |
setInProcessServerName(String inProcessServerName) |
void |
setModel(String model) |
void |
setPort(int port) |
void |
setTrustCertCollectionFilePath(String trustCertCollectionFilePath) |
public static final int DEFAULT_SERVER_PORT
public static final String SERVER_MODEL_IN_PROCESS
public static final String SERVER_MODEL_SIMPLE
public static final String SERVER_MODEL_TLS
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getModel()
public void setModel(String model)
public String getTrustCertCollectionFilePath()
public void setTrustCertCollectionFilePath(String trustCertCollectionFilePath)
public String getClientCertChainFilePath()
public void setClientCertChainFilePath(String clientCertChainFilePath)
public String getClientPrivateKeyFilePath()
public void setClientPrivateKeyFilePath(String clientPrivateKeyFilePath)
public String getInProcessServerName()
public void setInProcessServerName(String inProcessServerName)
Copyright © 2019 Nity. All rights reserved.