| Package | Description |
|---|---|
| io.knotx.server | |
| io.knotx.server.configuration |
| Modifier and Type | Method and Description |
|---|---|
static SupportedMethodsAndPathsHandler |
SupportedMethodsAndPathsHandler.create(KnotxServerOptions configuration) |
static KnotxHeaderHandler |
KnotxHeaderHandler.create(KnotxServerOptions config) |
static KnotxSplitterHandler |
KnotxSplitterHandler.create(io.vertx.reactivex.core.Vertx vertx,
KnotxServerOptions configuration) |
| Modifier and Type | Method and Description |
|---|---|
KnotxServerOptions |
KnotxServerOptions.setAccessLog(AccessLogOptions accessLog)
Set the access log options
|
KnotxServerOptions |
KnotxServerOptions.setAllowedResponseHeaders(Set<String> allowedResponseHeaders)
Set the set of response headers that can be returned by the Knot.x server
|
KnotxServerOptions |
KnotxServerOptions.setBackpressureBufferCapacity(long backpressureBufferCapacity)
Sets the backpressure buffer capacity.
|
KnotxServerOptions |
KnotxServerOptions.setBackpressureStrategy(io.reactivex.BackpressureOverflowStrategy backpressureStrategy)
Sets the strategy how to deal with backpressure buffer overflow.
|
KnotxServerOptions |
KnotxServerOptions.setCsrfConfig(KnotxCSRFOptions csrfConfig)
Set the CSRF configuration of the Knot.x server
|
KnotxServerOptions |
KnotxServerOptions.setCustomFlow(KnotxFlowSettings customFlow)
Set the Custom Flow configuration
|
KnotxServerOptions |
KnotxServerOptions.setCustomResponseHeader(CustomHttpHeader customResponseHeader)
Set the custom response header returned by the Knot.x
|
KnotxServerOptions |
KnotxServerOptions.setDefaultFlow(KnotxFlowSettings defaultFlow)
Set the Default flow configuration
|
KnotxServerOptions |
KnotxServerOptions.setDeliveryOptions(io.vertx.core.eventbus.DeliveryOptions deliveryOptions)
Set the Event Bus Delivery options used to communicate with Knot's
|
KnotxServerOptions |
KnotxServerOptions.setDisplayExceptionDetails(boolean displayExceptionDetails)
Set whether to display or not the exception on error pages
|
KnotxServerOptions |
KnotxServerOptions.setDropRequestResponseCode(int dropRequestResponseCode)
Sets the HTTP response code returned wheb request is dropped.
|
KnotxServerOptions |
KnotxServerOptions.setDropRequests(boolean dropRequests)
Enabled/disables request dropping (backpressure) on heavy load.
|
KnotxServerOptions |
KnotxServerOptions.setFileUploadDirectory(String fileUploadDirectory)
Set the location on Knot.x environment when uploaded files will be stored.
|
KnotxServerOptions |
KnotxServerOptions.setFileUploadLimit(Long fileUploadLimit)
Set the file upload limit in bytes
|
KnotxServerOptions |
KnotxServerOptions.setServerOptions(io.vertx.core.http.HttpServerOptions serverOptions)
Set the HTTP Server options
|
| Constructor and Description |
|---|
KnotxServerOptions(KnotxServerOptions other)
Copy constructor
|
Copyright © 2016–2020. All rights reserved.