@UriParams public class GrpcConfiguration extends Object
Constructor and Description |
---|
GrpcConfiguration() |
Modifier and Type | Method and Description |
---|---|
GrpcAuthType |
getAuthenticationType()
Authentication method type in advance to the SSL/TLS negotiation
|
GrpcConsumerStrategy |
getConsumerStrategy()
This option specifies the top-level strategy for processing service
requests and responses in streaming mode.
|
int |
getFlowControlWindow()
The HTTP/2 flow control window size (MiB)
|
String |
getHost()
The gRPC server host name.
|
JwtAlgorithm |
getJwtAlgorithm()
JSON Web Token sign algorithm
|
String |
getJwtIssuer()
JSON Web Token issuer
|
String |
getJwtSecret()
JSON Web Token secret
|
String |
getJwtSubject()
JSON Web Token subject
|
String |
getKeyCertChainResource() |
String |
getKeyPassword()
The PKCS#8 private key file password
|
String |
getKeyResource() |
int |
getMaxConcurrentCallsPerConnection() |
int |
getMaxMessageSize() |
String |
getMethod()
gRPC method name
|
io.grpc.netty.NegotiationType |
getNegotiationType() |
int |
getPort()
The gRPC local or remote server port
|
GrpcProducerStrategy |
getProducerStrategy() |
String |
getService()
Fully qualified service name from the protocol buffer descriptor file
(package dot service definition name)
|
String |
getServiceAccountResource()
Service Account key file in JSON format resource link supported by the Google Cloud SDK
|
String |
getStreamRepliesTo() |
String |
getTrustCertCollectionResource() |
String |
getUserAgent()
The user agent header passed to the server
|
boolean |
isForwardOnCompleted() |
boolean |
isForwardOnError() |
void |
parseURI(URI uri,
Map<String,Object> parameters,
GrpcComponent component) |
void |
setAuthenticationType(GrpcAuthType authenticationType) |
void |
setConsumerStrategy(GrpcConsumerStrategy consumerStrategy) |
void |
setFlowControlWindow(int flowControlWindow) |
void |
setForwardOnCompleted(boolean forwardOnCompleted)
Determines if onCompleted events should be pushed to the Camel route.
|
void |
setForwardOnError(boolean forwardOnError)
Determines if onError events should be pushed to the Camel route.
|
void |
setHost(String host) |
void |
setJwtAlgorithm(JwtAlgorithm jwtAlgorithm) |
void |
setJwtIssuer(String jwtIssuer) |
void |
setJwtSecret(String jwtSecret) |
void |
setJwtSubject(String jwtSubject) |
void |
setKeyCertChainResource(String keyCertChainResource)
The X.509 certificate chain file resource in PEM format link
|
void |
setKeyPassword(String keyPassword) |
void |
setKeyResource(String keyResource)
The PKCS#8 private key file resource in PEM format link
|
void |
setMaxConcurrentCallsPerConnection(int maxConcurrentCallsPerConnection)
The maximum number of concurrent calls permitted for each incoming server connection
|
void |
setMaxMessageSize(int maxMessageSize)
The maximum message size allowed to be received/sent (MiB)
|
void |
setMethod(String method) |
void |
setNegotiationType(io.grpc.netty.NegotiationType negotiationType)
Identifies the security negotiation type used for HTTP/2 communication
|
void |
setPort(int port) |
void |
setProducerStrategy(GrpcProducerStrategy producerStrategy)
The mode used to communicate with a remote gRPC server.
|
void |
setService(String service) |
void |
setServiceAccountResource(String serviceAccountResource) |
void |
setStreamRepliesTo(String streamRepliesTo)
When using STREAMING client mode, it indicates the endpoint where responses should be forwarded.
|
void |
setTrustCertCollectionResource(String trustCertCollectionResource)
The trusted certificates collection file resource in PEM format for verifying the remote endpoint's certificate
|
void |
setUserAgent(String userAgent) |
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 void setNegotiationType(io.grpc.netty.NegotiationType negotiationType)
public io.grpc.netty.NegotiationType getNegotiationType()
public GrpcAuthType getAuthenticationType()
public void setAuthenticationType(GrpcAuthType authenticationType)
public JwtAlgorithm getJwtAlgorithm()
public void setJwtAlgorithm(JwtAlgorithm jwtAlgorithm)
public String getJwtSecret()
public void setJwtSecret(String jwtSecret)
public String getJwtIssuer()
public void setJwtIssuer(String jwtIssuer)
public String getJwtSubject()
public void setJwtSubject(String jwtSubject)
public String getServiceAccountResource()
public void setServiceAccountResource(String serviceAccountResource)
public void setKeyCertChainResource(String keyCertChainResource)
public String getKeyCertChainResource()
public void setKeyResource(String keyResource)
public String getKeyResource()
public String getKeyPassword()
public void setKeyPassword(String keyPassword)
public void setTrustCertCollectionResource(String trustCertCollectionResource)
public String getTrustCertCollectionResource()
public GrpcConsumerStrategy getConsumerStrategy()
public void setConsumerStrategy(GrpcConsumerStrategy consumerStrategy)
public void setForwardOnCompleted(boolean forwardOnCompleted)
public boolean isForwardOnCompleted()
public void setForwardOnError(boolean forwardOnError)
public boolean isForwardOnError()
public GrpcProducerStrategy getProducerStrategy()
public void setProducerStrategy(GrpcProducerStrategy producerStrategy)
public String getStreamRepliesTo()
public void setStreamRepliesTo(String streamRepliesTo)
public String getUserAgent()
public void setUserAgent(String userAgent)
public int getFlowControlWindow()
public void setFlowControlWindow(int flowControlWindow)
public void setMaxMessageSize(int maxMessageSize)
public int getMaxMessageSize()
public void setMaxConcurrentCallsPerConnection(int maxConcurrentCallsPerConnection)
public int getMaxConcurrentCallsPerConnection()
public void parseURI(URI uri, Map<String,Object> parameters, GrpcComponent component)
Apache Camel