Package io.quarkiverse.cxf
Interface CxfFixedConfig
@ConfigMapping(prefix="quarkus.cxf")
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
public interface CxfFixedConfig
Quarkus CXF build time configuration options that are also available at runtime but only in read-only mode.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionclients()The build time part of the client configuration.Select the `HTTPConduitFactory` implementation for all clients except the ones that override this setting via `quarkus.cxf.client."client-name".http-conduit-factory`.intThe size in bytes of the chunks of memory allocated when writing data.intThe size of the output stream response buffer in bytes.path()The default path for CXF resources.
-
Method Details
-
path
The default path for CXF resources. [NOTE] .Earlier versions ==== The default value before Quarkus CXF version 2.0.0 was `/`. ====- Since:
- 1.0.0
-
minChunkSize
@WithDefault("128") int minChunkSize()The size in bytes of the chunks of memory allocated when writing data. This is a very advanced setting that should only be set if you understand exactly how it affects the output IO operations of the application.- Since:
- 2.6.0
-
outputBufferSize
@WithDefault("8191") int outputBufferSize()The size of the output stream response buffer in bytes. If a response is larger than this and no content-length is provided then the response will be chunked. Larger values may give slight performance increases for large responses, at the expense of more memory usage.- Since:
- 2.6.0
-
httpConduitFactory
Optional<CxfClientConfig.HTTPConduitImpl> httpConduitFactory()Select the `HTTPConduitFactory` implementation for all clients except the ones that override this setting via `quarkus.cxf.client."client-name".http-conduit-factory`. - `QuarkusCXFDefault` (default): if `io.quarkiverse.cxf:quarkus-cxf-rt-transports-http-hc5` is present in class path, then its `HTTPConduitFactory` implementation will be used; otherwise this value is equivalent with `URLConnectionHTTPConduitFactory` (this may change, once issue link:https://github.com/quarkiverse/quarkus-cxf/issues/992[++#++992] gets resolved in CXF) - `CXFDefault`: the selection of `HTTPConduitFactory` implementation is left to CXF - `HttpClientHTTPConduitFactory`: the `HTTPConduitFactory` will be set to an implementation always returning `org.apache.cxf.transport.http.HttpClientHTTPConduit`. This will use `java.net.http.HttpClient` as the underlying HTTP client. - `URLConnectionHTTPConduitFactory`: the `HTTPConduitFactory` will be set to an implementation always returning `org.apache.cxf.transport.http.URLConnectionHTTPConduit`. This will use `java.net.HttpURLConnection` as the underlying HTTP client.- Since:
- 2.3.0
-
clients
@WithName("client") @ConfigDocMapKey("client-name") Map<String,CxfFixedConfig.ClientFixedConfig> clients()The build time part of the client configuration.
-