net.sf.regain.ui.desktop
Class FileService
java.lang.Object
simple.http.serve.BasicResource
simple.http.load.BasicService
net.sf.regain.ui.desktop.FileService
- All Implemented Interfaces:
- simple.http.load.Service, simple.http.serve.Resource
public class FileService
- extends simple.http.load.BasicService
A simpleweb service providing files. For security reasons this service only
provides files that are in the index.
- Author:
- Til Schneider, www.murfman.de
Fields inherited from class simple.http.serve.BasicResource |
context |
Constructor Summary |
FileService(simple.http.serve.Context context)
Creates a new instance of FileService. |
Method Summary |
void |
process(simple.http.Request req,
simple.http.Response resp)
Processes a request. |
Methods inherited from class simple.http.load.BasicService |
prepare |
Methods inherited from class simple.http.serve.BasicResource |
handle, handle, process, process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface simple.http.serve.Resource |
handle, handle |
FileService
public FileService(simple.http.serve.Context context)
- Creates a new instance of FileService.
- Parameters:
context
- The context of this service.
process
public void process(simple.http.Request req,
simple.http.Response resp)
throws Exception
- Processes a request.
- Specified by:
process
in class simple.http.serve.BasicResource
- Parameters:
req
- The request.resp
- The response.
- Throws:
Exception
- If executing the JSP page failed.
Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info