Modifier and Type | Method and Description |
---|---|
RouterFactoryOptions |
RouterFactory.getOptions()
Get options of router factory.
|
RouterFactoryOptions |
RouterFactoryOptions.setMountNotImplementedHandler(boolean mountOperationsWithoutHandler)
If true, Router Factory will automatically mount an handler that return HTTP 501 status code for each operation where you didn't specify an handler.
|
RouterFactoryOptions |
RouterFactoryOptions.setMountResponseContentTypeHandler(boolean mountResponseContentTypeHandler)
If true, when required, the factory will mount a
ResponseContentTypeHandler |
RouterFactoryOptions |
RouterFactoryOptions.setMountValidationFailureHandler(boolean mountGlobalValidationFailureHandler)
Deprecated.
Router Factory won't manage the validation errors anymore. You must use
Router.errorHandler(int, Handler) with 400 error |
RouterFactoryOptions |
RouterFactoryOptions.setOperationModelKey(String operationModelKey)
When set, an additional handler will be created to expose the operation model in the routing
context under the given key.
|
RouterFactoryOptions |
RouterFactoryOptions.setRequireSecurityHandlers(boolean requireSecurityHandlers)
If true, when you call
RouterFactory.getRouter() the factory will mount for every path
the required security handlers and, if a security handler is not defined, it throws an RouterFactoryException |
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.setOptions(RouterFactoryOptions options)
Set options of router factory.
|
Constructor and Description |
---|
RouterFactoryOptions(RouterFactoryOptions other) |
Modifier and Type | Method and Description |
---|---|
RouterFactoryOptions |
RouterFactory.getOptions()
Get options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.setOptions(RouterFactoryOptions options)
Set options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactoryOptions |
OpenAPI3RouterFactory.getOptions()
Get options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactory |
OpenAPI3RouterFactory.setOptions(RouterFactoryOptions options)
Set options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactoryOptions |
RouterFactory.getOptions()
Get options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.setOptions(RouterFactoryOptions options)
Set options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactoryOptions |
OpenAPI3RouterFactory.getOptions()
Get options of router factory.
|
Modifier and Type | Method and Description |
---|---|
RouterFactory |
OpenAPI3RouterFactory.setOptions(RouterFactoryOptions options)
Set options of router factory.
|
Copyright © 2023 Eclipse. All rights reserved.