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.LoggerFactory;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* EASTER EGG - TO BE REMOVED
|
||||
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
||||
*
|
||||
*/
|
||||
@Path("cr7huevos")
|
||||
public class CR7Huevos {
|
||||
|
||||
|
@ -29,7 +35,7 @@ public class CR7Huevos {
|
|||
String indexFile = "/WEB-INF/jsp/cr7huevos.jsp";
|
||||
|
||||
try{
|
||||
logger.info(CR7Huevos.class.getSimpleName() +" called");
|
||||
logger.info("Easter EGG called :-) - TO BE REMOVE");
|
||||
String realPath = req.getServletContext().getRealPath(indexFile);
|
||||
return new FileInputStream(new File(realPath));
|
||||
}catch (Exception e) {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- EASTER EGG - TO BE REMOVED -->
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
|
|
Loading…
Reference in New Issue