trying path solution
This commit is contained in:
parent
9636ce2206
commit
fdba5aaa6b
|
@ -17,13 +17,13 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* @author Luca Frosini (ISTI-CNR)
|
* @author Luca Frosini (ISTI-CNR)
|
||||||
*/
|
*/
|
||||||
@Path("docs")
|
//@Path("docs")
|
||||||
public class Docs {
|
public class Docs {
|
||||||
|
|
||||||
private static Logger logger = LoggerFactory.getLogger(Docs.class);
|
private static Logger logger = LoggerFactory.getLogger(Docs.class);
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{any:.*}")
|
@Path("docs{any:/{0,1}.*}")
|
||||||
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
||||||
logger.trace("Called method to redirect to docs/index.html");
|
logger.trace("Called method to redirect to docs/index.html");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue