public class ZipClientHelper extends LocalClientHelper
Constructor and Description |
---|
ZipClientHelper(Client client)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handleGet(Request request,
Response response,
java.io.File file,
java.lang.String entryName,
MetadataService metadataService)
Handles a GET call.
|
protected void |
handleLocal(Request request,
Response response,
java.lang.String decodedPath)
Handles a call for a local entity.
|
protected void |
handlePut(Request request,
Response response,
java.io.File file,
java.lang.String entryName)
Handles a PUT call.
|
getDefaultLanguage, getTimeToLive, handle
getConnectorService, getContext, getProtocols, start, stop, update
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped
public ZipClientHelper(Client client)
client
- The helped client.protected void handleLocal(Request request, Response response, java.lang.String decodedPath)
handleLocal
in class LocalClientHelper
request
- The request to handle.response
- The response to update.decodedPath
- The URL decoded entity path.protected void handleGet(Request request, Response response, java.io.File file, java.lang.String entryName, MetadataService metadataService)
request
- The request to answer.response
- The response to update.file
- The Zip archive file.entryName
- The Zip archive entry name.metadataService
- The metadata service.Copyright © 2005-2024 Restlet.