@UriParams public class GrpcConfiguration extends Object
| Constructor and Description |
|---|
GrpcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
The gRPC server host name
|
String |
getMethod()
gRPC method name
|
int |
getPort()
The gRPC server port
|
String |
getService()
Fully qualified service name from the protocol buffer descriptor file
(package dot service definition name)
|
protected String |
getServiceName()
The service name extracted from the full service name
|
protected String |
getServicePackage()
The service package name extracted from the full service name
|
String |
getTarget()
The channel target name as alternative to host and port parameters
|
Boolean |
getUsePlainText()
The plaintext connection to the server flag
|
void |
setHost(String host) |
void |
setMethod(String method) |
void |
setPort(int port) |
void |
setService(String service) |
protected void |
setServiceName(String serviceName) |
protected void |
setServicePackage(String servicePackage) |
void |
setTarget(String target) |
void |
setUsePlainText(Boolean usePlainText) |
public String getService()
public void setService(String service)
public String getMethod()
public void setMethod(String method)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getTarget()
public void setTarget(String target)
public Boolean getUsePlainText()
public void setUsePlainText(Boolean usePlainText)
protected String getServiceName()
protected void setServiceName(String serviceName)
protected String getServicePackage()
protected void setServicePackage(String servicePackage)
Apache Camel