conveniance modification: added registry and getters for modules to BaseHandler
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -8,11 +8,16 @@ import static java.net.HttpURLConnection.HTTP_NOT_FOUND;
|
||||
import com.sun.net.httpserver.HttpExchange;
|
||||
import de.srsoftware.tools.Path;
|
||||
import de.srsoftware.umbrella.core.BaseHandler;
|
||||
import de.srsoftware.umbrella.core.ModuleRegistry;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class WebHandler extends BaseHandler {
|
||||
|
||||
public WebHandler(ModuleRegistry registry){
|
||||
super(registry);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doGet(Path path, HttpExchange ex) throws IOException {
|
||||
LOG.log(DEBUG,"doGet({0},ex)",path);
|
||||
|
||||
Reference in New Issue
Block a user