|
|
|
@ -39,7 +39,6 @@ public class UriResolverDocs {
|
|
|
|
|
* @throws WebApplicationException the web application exception
|
|
|
|
|
*/
|
|
|
|
|
@GET
|
|
|
|
|
@Produces({ MediaType.TEXT_HTML })
|
|
|
|
|
@Path("/{any: .*}")
|
|
|
|
|
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
|
|
|
|
logger.info(UriResolverDocs.class.getSimpleName() + " toDoc called");
|
|
|
|
@ -77,7 +76,7 @@ public class UriResolverDocs {
|
|
|
|
|
* @throws WebApplicationException the web application exception
|
|
|
|
|
*/
|
|
|
|
|
@GET
|
|
|
|
|
@Produces({ MediaType.TEXT_HTML })
|
|
|
|
|
// @Produces({ MediaType.TEXT_HTML })
|
|
|
|
|
@Path("")
|
|
|
|
|
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException {
|
|
|
|
|
logger.info(UriResolverDocs.class.getSimpleName() + " index called");
|
|
|
|
|