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()
ReaderConfig
Api
annotation has to be processed.isScanAllResources
in interface ReaderConfig
true
if all resource has to be processedpublic void setScanAllResources(boolean scanAllResources)
public Collection<String> getIgnoredRoutes()
ReaderConfig
getIgnoredRoutes
in interface ReaderConfig
public void setIgnoredRoutes(Collection<String> ignoredRoutes)
Copyright © 2016. All rights reserved.