Interface RestServiceConfig.RestApiConfig
- All Superinterfaces:
- Config
- Enclosing interface:
- RestServiceConfig
REST API specific configuration.
 
 Each REST API wraps an instance of HTTPServiceConfig, which will
 be used to serve the REST calls.
- 
Method SummaryModifier and TypeMethodDescriptionintGets the maximum inbound request size for associated HTTP service config.Gets type of REST API.booleanisDebug()Gets the debug value, set for associated HTTP service config.voidsetDebug(boolean debug) Sets debug option for associated HTTP service config.voidsetMaximumInboundRequestSize(int maximumInboundRequestSize) Sets maximum inbound request size for associated HTTP service config.
- 
Method Details- 
getRestApiTypeRestServiceConfig.RestApiType getRestApiType()Gets type of REST API.- Returns:
- REST API type
 
- 
setDebugvoid setDebug(boolean debug) Sets debug option for associated HTTP service config.By default, this is false. This value can be set when the server is running. - Parameters:
- debug- true to set.
 
- 
setMaximumInboundRequestSizeSets maximum inbound request size for associated HTTP service config.If it is not set then the value is 0 indicating that maximum message size is to be used. - Parameters:
- maximumInboundRequestSize- the maximum number of bytes that the HTTP request may have.
- Throws:
- ConfigException- if unable to set property
 
- 
isDebugboolean isDebug()Gets the debug value, set for associated HTTP service config.- Returns:
- true if debug set
 
- 
getMaximumInboundRequestSizeint getMaximumInboundRequestSize()Gets the maximum inbound request size for associated HTTP service config.- Returns:
- maximum inbound request size for associated HTTPServiceConfig.
 
 
-