public static interface RestServiceConfig.RestApiConfig extends Config
Each REST API wraps an instance of HTTPServiceConfig
, which will
be used to serve the REST calls.
Modifier and Type | Method and Description |
---|---|
int |
getMaximumInboundRequestSize()
Gets the maximum inbound request size for associated HTTP service
config.
|
RestServiceConfig.RestApiType |
getRestApiType()
Gets type of REST API.
|
boolean |
isDebug()
Gets the debug value, set for associated HTTP service config.
|
void |
setDebug(boolean debug)
Sets debug option for associated HTTP service config.
|
void |
setMaximumInboundRequestSize(int maximumInboundRequestSize)
Sets maximum inbound request size for associated HTTP service
config.
|
RestServiceConfig.RestApiType getRestApiType()
void setDebug(boolean debug)
By default, this is false.
This value can be set when the server is running.
debug
- true to set.void setMaximumInboundRequestSize(int maximumInboundRequestSize) throws ConfigException
If it is not set then the value is 0 indicating that maximum message size is to be used.
maximumInboundRequestSize
- the maximum number of bytes that the
HTTP request may have.ConfigException
- if unable to set propertyboolean isDebug()
int getMaximumInboundRequestSize()
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.