public class DefaultReaderConfig extends Object implements ReaderConfig
ReaderConfig interface defines configuration settings for
JAX-RS annotations reader.| Constructor and Description |
|---|
DefaultReaderConfig()
Creates default configuration.
|
DefaultReaderConfig(ReaderConfig src)
Creates a copy of passed configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getIgnoredRoutes()
Returns paths of resources to be ignored.
|
boolean |
isScanAllResources()
Checks if all resources, but not those with the
Api annotation has to be processed. |
void |
setIgnoredRoutes(Collection<String> ignoredRoutes) |
void |
setScanAllResources(boolean scanAllResources) |
public DefaultReaderConfig()
public DefaultReaderConfig(ReaderConfig src)
public boolean isScanAllResources()
ReaderConfigApi annotation has to be processed.isScanAllResources in interface ReaderConfigtrue if all resource has to be processedpublic void setScanAllResources(boolean scanAllResources)
public Collection<String> getIgnoredRoutes()
ReaderConfiggetIgnoredRoutes in interface ReaderConfigpublic void setIgnoredRoutes(Collection<String> ignoredRoutes)
Copyright © 2018. All Rights Reserved.