All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.zip.ZipFrame

java.lang.Object
   |
   +----org.w3c.tools.resources.AttributeHolder
           |
           +----org.w3c.tools.resources.Resource
                   |
                   +----org.w3c.tools.resources.FramedResource
                           |
                           +----org.w3c.tools.resources.ResourceFrame
                                   |
                                   +----org.w3c.tools.resources.ProtocolFrame
                                           |
                                           +----org.w3c.jigsaw.frames.HTTPFrame
                                                   |
                                                   +----org.w3c.jigsaw.zip.ZipFrame

public class ZipFrame
extends HTTPFrame

Variable Index

 o zipfresource

Constructor Index

 o ZipFrame()

Method Index

 o createFileReply(Request)
Create the reply relative to the given file.
 o put(Request)
The default PUT method replies with a not implemented.
 o registerResource(FramedResource)
Register this frame to the given resource.

Variables

 o zipfresource
 protected ZipFileResource zipfresource

Constructors

 o ZipFrame
 public ZipFrame()

Methods

 o registerResource
 public void registerResource(FramedResource resource)
Register this frame to the given resource.

Overrides:
registerResource in class HTTPFrame
 o createFileReply
 protected Reply createFileReply(Request request) throws ProtocolException, ResourceException
Create the reply relative to the given file.

Parameters:
request - the incomming request.
Returns:
A Reply instance
Throws: ProtocolException
if processing the request failed.
Throws: ResourceException
if the resource got a fatal error.
Overrides:
createFileReply in class HTTPFrame
 o put
 public Reply put(Request request) throws ProtocolException, ResourceException
The default PUT method replies with a not implemented.

Parameters:
request - The request to handle.
Throws: ProtocolException
Always thrown, to return a NOT_IMPLEMENTED error.
Throws: ResourceException
If the resource got a fatal error.
Overrides:
put in class HTTPFrame

All Packages  Class Hierarchy  This Package  Previous  Next  Index