Class NettyHttpEndpointBuilderFactory.NettyHttpHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.NettyHttpEndpointBuilderFactory.NettyHttpHeaderNameBuilder
- Enclosing interface:
- NettyHttpEndpointBuilderFactory
The builder of headers' name for the Netty HTTP component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe value of the HTTP header connection to use.To set the content-type of the HTTP body.If the user was authenticated using HTTP Basic then this header is added with the value Basic.The charset from the content-type header.The HTTP method used, such as GET, POST, TRACE etc.httpPath()
Allows to provide URI context-path and query parameters as a String value that overrides the endpoint configuration.The version of the HTTP protocol.Any query parameters, such as foo=bar&beer=yes.Any query parameters, such as foo=bar&beer=yes.Allows to set the HTTP Status code to use.httpUri()
The URI without protocol, host and port, etc: /myapp.httpUrl()
The URL including protocol, host and port, etc: http://0.0.0.0:8080/myapp.The channel handler context.Indicates whether the channel should be closed after complete.The local address.The remote address.The read timeout.The SSL client certificate issuer name.The SSL client certificate not after.The SSL client certificate not before.The SSL client certificate serial number.The SSL client certificate subject name.The SSL session.
-
Constructor Details
-
NettyHttpHeaderNameBuilder
public NettyHttpHeaderNameBuilder()
-
-
Method Details
-
httpAuthentication
If the user was authenticated using HTTP Basic then this header is added with the value Basic. The option is a:String
type. Group: common- Returns:
- the name of the header
HttpAuthentication
.
-
contentType
To set the content-type of the HTTP body. For example: text/plain; charset=UTF-8. The option is a:String
type. Group: common- Returns:
- the name of the header
Content-Type
.
-
connection
The value of the HTTP header connection to use. The option is a:String
type. Group: common- Returns:
- the name of the header
connection
.
-
nettyCloseChannelWhenComplete
Indicates whether the channel should be closed after complete. The option is a:Boolean
type. Group: common- Returns:
- the name of the header
NettyCloseChannelWhenComplete
.
-
httpResponseCode
Allows to set the HTTP Status code to use. By default 200 is used for success, and 500 for failure. The option is a:Integer
type. Group: common- Returns:
- the name of the header
HttpResponseCode
.
-
httpProtocolVersion
The version of the HTTP protocol. The option is a:String
type. Default: HTTP/1.1 Group: common- Returns:
- the name of the header
HttpProtocolVersion
.
-
httpMethod
The HTTP method used, such as GET, POST, TRACE etc. The option is a:String
type. Default: GET Group: common- Returns:
- the name of the header
HttpMethod
.
-
httpQuery
Any query parameters, such as foo=bar&beer=yes. The option is a:String
type. Group: common- Returns:
- the name of the header
HttpQuery
.
-
httpPath
Allows to provide URI context-path and query parameters as a String value that overrides the endpoint configuration. This allows to reuse the same producer for calling same remote http server, but using a dynamic context-path and query parameters. The option is a:String
type. Group: common- Returns:
- the name of the header
HttpPath
.
-
httpRawQuery
Any query parameters, such as foo=bar&beer=yes. Stored in the raw form, as they arrived to the consumer (i.e. before URL decoding). The option is a:String
type. Group: common- Returns:
- the name of the header
HttpRawQuery
.
-
httpUrl
The URL including protocol, host and port, etc: http://0.0.0.0:8080/myapp. The option is a:String
type. Group: common- Returns:
- the name of the header
HttpUrl
.
-
httpCharacterEncoding
The charset from the content-type header. The option is a:String
type. Group: common- Returns:
- the name of the header
HttpCharacterEncoding
.
-
httpUri
The URI without protocol, host and port, etc: /myapp. The option is a:String
type. Group: common- Returns:
- the name of the header
HttpUri
.
-
nettyChannelHandlerContext
The channel handler context. The option is a:io.netty.channel.ChannelHandlerContext
type. Group: common- Returns:
- the name of the header
NettyChannelHandlerContext
.
-
nettyRemoteAddress
The remote address. The option is a:java.net.SocketAddress
type. Group: common- Returns:
- the name of the header
NettyRemoteAddress
.
-
nettyLocalAddress
The local address. The option is a:java.net.SocketAddress
type. Group: common- Returns:
- the name of the header
NettyLocalAddress
.
-
nettySSLSession
The SSL session. The option is a:javax.net.ssl.SSLSession
type. Group: common- Returns:
- the name of the header
NettySSLSession
.
-
nettySSLClientCertSubjectName
The SSL client certificate subject name. The option is a:String
type. Group: common- Returns:
- the name of the header
NettySSLClientCertSubjectName
.
-
nettySSLClientCertIssuerName
The SSL client certificate issuer name. The option is a:String
type. Group: common- Returns:
- the name of the header
NettySSLClientCertIssuerName
.
-
nettySSLClientCertSerialNumber
The SSL client certificate serial number. The option is a:String
type. Group: common- Returns:
- the name of the header
NettySSLClientCertSerialNumber
.
-
nettySSLClientCertNotBefore
The SSL client certificate not before. The option is a:java.util.Date
type. Group: common- Returns:
- the name of the header
NettySSLClientCertNotBefore
.
-
nettySSLClientCertNotAfter
The SSL client certificate not after. The option is a:java.util.Date
type. Group: common- Returns:
- the name of the header
NettySSLClientCertNotAfter
.
-
nettyRequestTimeout
The read timeout. The option is a:Long
type. Group: common- Returns:
- the name of the header
NettyRequestTimeout
.
-