Class VertxPlatformHttpServerConfiguration
java.lang.Object
org.apache.camel.component.platform.http.vertx.VertxPlatformHttpServerConfiguration
HTTP server configuration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCors()getHost()getPath()intgetPort()The server type (e.g., "server" or "management") used to distinguish between main server and management server.org.apache.camel.support.jsse.SSLContextParametersbooleanvoidsetAuthenticationConfig(AuthenticationConfig authenticationConfig) voidsetBindHost(String bindHost) voidsetBindPort(int bindPort) voidvoidsetCors(VertxPlatformHttpServerConfiguration.Cors corsConfiguration) voidvoidsetMaxBodySize(Long maxBodySize) voidvoidsetPort(int port) voidsetServerType(String serverType) Sets the server type (e.g., "server" or "management").voidvoidsetSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) voidsetUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
-
Field Details
-
DEFAULT_BIND_HOST
- See Also:
-
DEFAULT_BIND_PORT
public static final int DEFAULT_BIND_PORT- See Also:
-
DEFAULT_PATH
- See Also:
-
-
Constructor Details
-
VertxPlatformHttpServerConfiguration
public VertxPlatformHttpServerConfiguration()
-
-
Method Details
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
setHost
-
getHost
-
getBindHost
-
setBindHost
-
getBindPort
public int getBindPort() -
setBindPort
public void setBindPort(int bindPort) -
getPath
-
setPath
-
getMaxBodySize
-
setMaxBodySize
-
getSslContextParameters
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters() -
setSslContextParameters
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) -
isUseGlobalSslContextParameters
public boolean isUseGlobalSslContextParameters() -
setUseGlobalSslContextParameters
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters) -
getCors
-
setCors
-
getSessionConfig
-
setSessionConfig
-
getBodyHandler
-
setBodyHandler
-
getAuthenticationConfig
-
setAuthenticationConfig
-
getServerType
The server type (e.g., "server" or "management") used to distinguish between main server and management server. This is used byVertxPlatformHttpRouterto help identify the correct router when multiple servers are running. -
setServerType
Sets the server type (e.g., "server" or "management").- See Also:
-