Class RestPathsAnalyzer
- java.lang.Object
-
- ru.vyarus.guicey.gsp.app.rest.log.RestPathsAnalyzer
-
public class RestPathsAnalyzer extends java.lang.ObjectCollects template resources for logging. Implementation is a copy of dropwizard's own logging fromDropwizardResourceConfig(which can't be used directly).- Since:
- 06.12.2018
-
-
Constructor Summary
Constructors Constructor Description RestPathsAnalyzer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestPathsAnalyzerbuild(io.dropwizard.jersey.DropwizardResourceConfig config)Collects all registered template resource paths for console logging.java.util.Set<ViewPath>select(java.lang.String app)
-
-
-
Method Detail
-
build
public static RestPathsAnalyzer build(io.dropwizard.jersey.DropwizardResourceConfig config)
Collects all registered template resource paths for console logging.- Parameters:
config- dropwizard resources configuration object- Returns:
- analyzer instance with all found template resources
-
select
public java.util.Set<ViewPath> select(java.lang.String app)
- Parameters:
app- application name- Returns:
- rest paths of required app
-
-