| org.w3c.jigsaw.frames.HTTPFrame org.w3c.jigsaw.frames.PostableFrame org.w3c.jigedit.cvs.CvsFrame
Method Summary | |
protected static void | addStyle(HtmlGenerator g) | protected static Reply | error(Request request, String msg, CvsException ex) Emit an HTML error message.
Parameters: request - The request that trigered the error. Parameters: msg - The error message. Parameters: ex - The CvsException that happened while processing the request. | protected static Reply | error(Request request, String msg, String details) Emit an HTML error message.
Parameters: request - The request that trigered the error. Parameters: msg - The error message. | protected static Reply | error(CvsFrame cvsframe, Request request, String msg, CvsException ex) Emit an HTML error message.
Parameters: cvsframe - The CvsFrame sending this error. Parameters: request - The request that trigered the error. Parameters: msg - The error message. Parameters: ex - The CvsException that happened while processing the request. | protected static Reply | error(CvsFrame cvsframe, Request request, String msg, String details) Emit an HTML error message.
Parameters: cvsframe - The CvsFrame sending this error Parameters: request - The request that trigered the error. Parameters: msg - The error message. | public Reply | get(Request request) Dump the content of the directory as a CVS form. | protected String | getAction(Request request) | protected synchronized CvsDirectory | getCvsManager() Get the CVS manager associated with this resource, or create it. | public static HtmlGenerator | getHtmlGenerator(String title) Get an HtmlGenerator with some style defined:
tags with style
- BODY
- CAPTION
- P.error
- A
- A.alphalink
- H1.center
Some DIV
- DIV.box
- DIV.boxcenter
- DIV.error
Some SPAN
- .warning
- .title
- .status
- .statusok
- .titleblack
Parameters: title - The document title. | public static HtmlGenerator | getHtmlGenerator(CvsFrame cvsframe, String title) Like getHtmlGenerator(String), and add the frame style sheet.
Parameters: title - The document title. | protected FramedResource | getResourceFor(String name) Get a suitable FramedResource to display the given cvs'ed file.
Parameters: name - The name of the file. | public Reply | handle(Request request, org.w3c.jigsaw.forms.URLDecoder data) This is were we handle the big post request. | protected boolean | isIndexed(String name) | protected boolean | lookupOther(LookupState ls, LookupResult lr) Lookup method for the CVS manager. | protected Reply | performDirectoryAction(String action, Request request, org.w3c.jigsaw.forms.URLDecoder data) Perform the given action on the underlying directory as a whole.
Parameters: action - The action to perform. Parameters: request - The request that triggered the action. Parameters: data - The decoded form data. | protected void | refresh(Request request) | public void | registerResource(FramedResource resource) Register the resource and add CvsProperties in httpd. |
error | protected static Reply error(Request request, String msg, CvsException ex)(Code) | | Emit an HTML error message.
Parameters: request - The request that trigered the error. Parameters: msg - The error message. Parameters: ex - The CvsException that happened while processing the request. An HTTP reply. |
error | protected static Reply error(Request request, String msg, String details)(Code) | | Emit an HTML error message.
Parameters: request - The request that trigered the error. Parameters: msg - The error message. An HTTP reply. |
error | protected static Reply error(CvsFrame cvsframe, Request request, String msg, CvsException ex)(Code) | | Emit an HTML error message.
Parameters: cvsframe - The CvsFrame sending this error. Parameters: request - The request that trigered the error. Parameters: msg - The error message. Parameters: ex - The CvsException that happened while processing the request. An HTTP reply. |
error | protected static Reply error(CvsFrame cvsframe, Request request, String msg, String details)(Code) | | Emit an HTML error message.
Parameters: cvsframe - The CvsFrame sending this error Parameters: request - The request that trigered the error. Parameters: msg - The error message. An HTTP reply. |
getCvsManager | protected synchronized CvsDirectory getCvsManager()(Code) | | Get the CVS manager associated with this resource, or create it.
|
getHtmlGenerator | public static HtmlGenerator getHtmlGenerator(String title)(Code) | | Get an HtmlGenerator with some style defined:
tags with style
- BODY
- CAPTION
- P.error
- A
- A.alphalink
- H1.center
Some DIV
- DIV.box
- DIV.boxcenter
- DIV.error
Some SPAN
- .warning
- .title
- .status
- .statusok
- .titleblack
Parameters: title - The document title. a HtmlGenerator instance. |
getHtmlGenerator | public static HtmlGenerator getHtmlGenerator(CvsFrame cvsframe, String title)(Code) | | Like getHtmlGenerator(String), and add the frame style sheet.
Parameters: title - The document title. a HtmlGenerator instance. |
getResourceFor | protected FramedResource getResourceFor(String name)(Code) | | Get a suitable FramedResource to display the given cvs'ed file.
Parameters: name - The name of the file. A CvsEntryResource, or null if none wasfound. |
lookupOther | protected boolean lookupOther(LookupState ls, LookupResult lr) throws ProtocolException(Code) | | Lookup method for the CVS manager.
Lookup for a cvs entry object having the given name, if found, wrap it
into a CvsEntryResource object and return it.
Parameters: ls - The current lookup state. Parameters: lr - The (under construction) lookup result. exception: ProtocolException - if a protocol error occurs |
performDirectoryAction | protected Reply performDirectoryAction(String action, Request request, org.w3c.jigsaw.forms.URLDecoder data) throws ProtocolException(Code) | | Perform the given action on the underlying directory as a whole.
Parameters: action - The action to perform. Parameters: request - The request that triggered the action. Parameters: data - The decoded form data. A suitable HTTP reply. exception: ProtocolException - if a protocol error occurs |
registerResource | public void registerResource(FramedResource resource)(Code) | | Register the resource and add CvsProperties in httpd.
Parameters: resource - The resource to register. |
Methods inherited from org.w3c.jigsaw.frames.HTTPFrame | public void addStyleSheet(HtmlGenerator g)(Code)(Java Doc) public void attributeChanged(AttributeChangedEvent evt)(Code)(Java Doc) public Reply browse(Request request) throws ProtocolException(Code)(Java Doc) public boolean checkExpect(Request request)(Code)(Java Doc) public int checkIfMatch(Request request)(Code)(Java Doc) public int checkIfModifiedSince(Request request)(Code)(Java Doc) public int checkIfNoneMatch(Request request)(Code)(Java Doc) public int checkIfUnmodifiedSince(Request request)(Code)(Java Doc) public boolean checkRequest(RequestInterface request)(Code)(Java Doc) public int checkValidators(Request request)(Code)(Java Doc) public boolean computeContainerListing(boolean refresh)(Code)(Java Doc) public String computeETag()(Code)(Java Doc) protected File computeTrashDir(File dir)(Code)(Java Doc) protected File computeTrashFile(File file)(Code)(Java Doc) public Reply createDefaultReply(Request request, int status)(Code)(Java Doc) protected Reply createFileReply(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply delete(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply deleteMe(Request request) throws HTTPException(Code)(Java Doc) protected Reply deleteOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply extended(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply get(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected HttpTokenList getAllow()(Code)(Java Doc) public boolean getAllowDeleteFlag()(Code)(Java Doc) public boolean getBrowsableFlag()(Code)(Java Doc) protected synchronized MimeType getBrowseType()(Code)(Java Doc) public String getCharset()(Code)(Java Doc) public String getContentEncoding()(Code)(Java Doc) public String getContentLanguage()(Code)(Java Doc) public int getContentLength()(Code)(Java Doc) public MimeType getContentType()(Code)(Java Doc) public Reply getDirectoryListing(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public DirectoryResource getDirectoryResource()(Code)(Java Doc) protected Reply getDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public HttpEntityTag getETag()(Code)(Java Doc) public FileResource getFileResource()(Code)(Java Doc) protected Reply getFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public String getHelpURL()(Code)(Java Doc) public String getHelpURL(String topic)(Code)(Java Doc) public String getIcon()(Code)(Java Doc) public String getIconDirectory()(Code)(Java Doc) public String getIndex()(Code)(Java Doc) public String[] getIndexes()(Code)(Java Doc) public boolean getMD5Flag()(Code)(Java Doc) public long getMaxAge()(Code)(Java Doc) protected Reply getOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean getPutableFlag()(Code)(Java Doc) public double getQuality()(Code)(Java Doc) public boolean getRelocateFlag()(Code)(Java Doc) public String getStyleSheetURL()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public URL getURL(Request request)(Code)(Java Doc) public Reply handleRangeRequest(Request request, HttpRange r) throws ProtocolException(Code)(Java Doc) public Reply head(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply headOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public void initialize(Hashtable defs)(Code)(Java Doc) public Reply link(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupDirectory(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupFile(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupOther(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupResource(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) public Reply options(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public ReplyInterface perform(RequestInterface req) throws ProtocolException, ResourceException(Code)(Java Doc) protected ReplyInterface performFrames(RequestInterface request) throws ProtocolException, ResourceException(Code)(Java Doc) public void pickleValues(Hashtable defs)(Code)(Java Doc) public Reply post(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply put(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply putFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply putOtherResource(Request request) throws ProtocolException(Code)(Java Doc) public void registerOtherResource(FramedResource resource)(Code)(Java Doc) public void registerResource(FramedResource resource)(Code)(Java Doc) public synchronized void setValue(int idx, Object value)(Code)(Java Doc) public Reply trace(Request request) throws HTTPException, ClientException(Code)(Java Doc) public Reply unlink(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public double unsafeGetQuality()(Code)(Java Doc) protected void updateCachedHeaders()(Code)(Java Doc)
|
|
|