2018-10-22 18:32:29 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.datatransfer.resolver.services;
|
|
|
|
|
2018-10-31 11:52:04 +01:00
|
|
|
///**
|
|
|
|
// *
|
|
|
|
// * @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
|
|
|
// * Oct 22, 2018
|
|
|
|
// */
|
|
|
|
//@Path("/")
|
|
|
|
//public class UriResolverIndex {
|
|
|
|
//
|
|
|
|
// private static Logger logger = LoggerFactory.getLogger(UriResolverIndex.class);
|
|
|
|
//
|
|
|
|
// @GET
|
|
|
|
// @Produces(MediaType.TEXT_HTML)
|
|
|
|
// @Path("index")
|
|
|
|
// public Viewable index(@Context HttpServletRequest req, @PathParam("index") String info){
|
|
|
|
//
|
|
|
|
// try{
|
|
|
|
// logger.info("UriResolverIndex called");
|
|
|
|
// return new Viewable("/index");
|
|
|
|
// }catch(Exception e){
|
|
|
|
// logger.error("Error on getting index.jsp", e);
|
|
|
|
// throw new InternalServerException(req, Status.NOT_FOUND, "Index.jsp not found", UriResolverIndex.class, null);
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
//}
|
2018-10-22 18:32:29 +02:00
|
|
|
|