com.noelios.restlet.local
Class FileClientHelper
java.lang.Object
org.restlet.util.Helper
com.noelios.restlet.ConnectorHelper
com.noelios.restlet.ClientHelper
com.noelios.restlet.local.LocalClientHelper
com.noelios.restlet.local.FileClientHelper
- Direct Known Subclasses:
- WarClientHelper
public class FileClientHelper
- extends LocalClientHelper
Connector to the file resources accessible
- Author:
- Jerome Louvel (contact@noelios.com), Thierry Boileau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileClientHelper
public FileClientHelper(Client client)
- Constructor.
- Parameters:
client
- The client to help.
handle
public void handle(Request request,
Response response)
- Handles a call.
- Overrides:
handle
in class ConnectorHelper
- Parameters:
request
- The request to handle.response
- The response to update.
handleFile
protected void handleFile(Request request,
Response response,
String path)
- Handles a call for the FILE protocol.
- Parameters:
request
- The request to handle.response
- The response to update.path
- The file or directory path.
Copyright © 2005-2007 Noelios Technologies.