Class GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder
-
- Enclosing interface:
- GrpcEndpointBuilderFactory
public static class GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder extends Object
The builder of headers' name for the gRPC component.
-
-
Constructor Summary
Constructors Constructor Description GrpcHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
grpcEventType()
Received event type from the sent request.String
grpcMethodName()
Method name handled by the consumer service.String
grpcUserAgent()
If provided, the given agent will prepend the gRPC library's user agent information.
-
-
-
Method Detail
-
grpcMethodName
public String grpcMethodName()
Method name handled by the consumer service. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GrpcMethodName
.
-
grpcUserAgent
public String grpcUserAgent()
If provided, the given agent will prepend the gRPC library's user agent information. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GrpcUserAgent
.
-
grpcEventType
public String grpcEventType()
Received event type from the sent request. Possible values: onNext onCompleted onError. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GrpcEventType
.
-
-