just added some comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@178598 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d375c91890
commit
2b09f79962
|
@ -16,6 +16,12 @@ import org.gcube.datatransfer.resolver.services.error.ExceptionManager;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO
|
||||||
|
* EASTER EGG - TO BE REMOVED
|
||||||
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
||||||
|
*
|
||||||
|
*/
|
||||||
@Path("cr7huevos")
|
@Path("cr7huevos")
|
||||||
public class CR7Huevos {
|
public class CR7Huevos {
|
||||||
|
|
||||||
|
@ -29,7 +35,7 @@ public class CR7Huevos {
|
||||||
String indexFile = "/WEB-INF/jsp/cr7huevos.jsp";
|
String indexFile = "/WEB-INF/jsp/cr7huevos.jsp";
|
||||||
|
|
||||||
try{
|
try{
|
||||||
logger.info(CR7Huevos.class.getSimpleName() +" called");
|
logger.info("Easter EGG called :-) - TO BE REMOVE");
|
||||||
String realPath = req.getServletContext().getRealPath(indexFile);
|
String realPath = req.getServletContext().getRealPath(indexFile);
|
||||||
return new FileInputStream(new File(realPath));
|
return new FileInputStream(new File(realPath));
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- EASTER EGG - TO BE REMOVED -->
|
||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Reference in New Issue