From 0de53ac0c2118e6820ac7df309ee86ca69982483 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 24 Jun 2021 12:26:35 +0000
Subject: [PATCH] getFileBase in den FileHandler verlegt

---
 src/de/uhilger/httpserver/adoc/AdocHandler.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/de/uhilger/httpserver/adoc/AdocHandler.java b/src/de/uhilger/httpserver/adoc/AdocHandler.java
index 69ae227..88b0589 100644
--- a/src/de/uhilger/httpserver/adoc/AdocHandler.java
+++ b/src/de/uhilger/httpserver/adoc/AdocHandler.java
@@ -54,8 +54,10 @@
     //logger.fine("filter: " + requestUriStr);    
     if(requestPathStr.toLowerCase().endsWith(AdocFilter.ADOC)) {
       File adocfile = new File(fileBase, getFileName(e));
+      logger.fine("adocfile: " + adocfile.getAbsolutePath());
       AdocActor actor = new AdocActor();
       File outfile = actor.getTargetFile(adocfile, AdocActor.HTML);
+      logger.fine("outfile: " + outfile.getAbsolutePath());
       HttpResponder fs = new HttpResponder();
       fs.serveFile(e, outfile);
     } else {
@@ -63,9 +65,6 @@
     }
   }
   
-  public String getFileBase() {
-    return this.fileBase;
-  }
   
   
 }

--
Gitblit v1.9.3