| org.w3c.jigsaw.webdav.DAVFrame org.w3c.jigedit.webdav.frames.CvsDAVFileFrame
CvsDAVFileFrame | public class CvsDAVFileFrame extends DAVFrame (Code) | | This subclass of HTTPFrame check cvs before performing a PUT request.
If a CVS directory exists
If the resource file exists
If resource file not up to date Fail.
Else perform PUT and commit it into cvs.
Else perform PUT, add and commit it into cvs.
Else perform PUT.
author: Benoit Mahe |
debug | final public static boolean debug(Code) | | |
checkCvsManager | protected boolean checkCvsManager()(Code) | | |
computeETag | public String computeETag()(Code) | | Get this resource Etag string, it will be computed using
FileETag MTime Size directive like in Apache, this will fit some
needs for our own server farm, it won't hurt anyway/
a string or null if not applicable |
getResourceDirectory | protected synchronized File getResourceDirectory()(Code) | | |
isAutoUpdatable | public boolean isAutoUpdatable()(Code) | | tell if we must always do an update.
|
statusToString | protected String statusToString(int status)(Code) | | |
Methods inherited from org.w3c.jigsaw.webdav.DAVFrame | protected static boolean acceptRedirect(DAVRequest request)(Code)(Java Doc) protected void addContentLanguage(DAVProperties props)(Code)(Java Doc) protected void addContentLength(DAVProperties props)(Code)(Java Doc) protected void addContentType(DAVProperties props)(Code)(Java Doc) protected void addCreationDate(DAVProperties props)(Code)(Java Doc) protected void addDisplayName(DAVProperties props)(Code)(Java Doc) protected void addETag(DAVProperties props)(Code)(Java Doc) protected void addIsCollection(DAVProperties props)(Code)(Java Doc) protected void addLastModified(DAVProperties props)(Code)(Java Doc) protected void addLockDiscovery(DAVRequest request, DAVProperties prop)(Code)(Java Doc) protected void addLockDiscovery(DAVRequest request, Node parent)(Code)(Java Doc) protected void addResourceType(DAVProperties props)(Code)(Java Doc) protected void addSupportedLock(DAVProperties prop)(Code)(Java Doc) protected int checkIf(DAVRequest request) throws HTTPException(Code)(Java Doc) protected boolean checkLockOwner(DAVRequest request)(Code)(Java Doc) protected void closeInternalReply(DAVReply reply)(Code)(Java Doc) protected URL computeDestURL(URL parent, DAVFrame df) throws MalformedURLException(Code)(Java Doc) public Reply copy(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply copyCollection(URL destination, DAVRequest request, boolean overwrite) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply copyCollection(URL destination, DAVRequest request, boolean overwrite, DAVBody body, Document document) throws ProtocolException, ResourceException, MultiStatusException(Code)(Java Doc) protected org.w3c.www.protocol.webdav.DAVReply copyDAVResource(DAVRequest req, URL source, URL destination, DAVBody body) throws MultiStatusException(Code)(Java Doc) protected void copyProperties(DAVRequest req, URL destination, DAVBody body) throws MultiStatusException(Code)(Java Doc) protected Reply copyResource(URL dst, DAVRequest request, boolean overwrite) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply createDAVReply(DAVRequest request, int status, Document document)(Code)(Java Doc) protected DAVRequest createInternalRequest(DAVRequest request, String mtd, URL url, Hashtable headers, Document document)(Code)(Java Doc) protected DAVRequest createInternalRequest(DAVRequest req, String mtd, URL url, Hashtable headers, InputStream in)(Code)(Java Doc) protected DAVRequest createInternalRequest(DAVRequest req, String mtd, URL url, Hashtable headers)(Code)(Java Doc) protected org.w3c.www.protocol.webdav.DAVRequest createRequest(DAVRequest req, String mtd, URL url, Hashtable headers, InputStream in)(Code)(Java Doc) protected org.w3c.www.protocol.webdav.DAVRequest createRequest(DAVRequest request, String mtd, URL url, Hashtable headers)(Code)(Java Doc) protected org.w3c.www.protocol.webdav.DAVRequest createRequest(DAVRequest request, String mtd, URL url, Hashtable headers, Document document)(Code)(Java Doc) public Reply davextended(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) protected String decodeURL(DAVRequest request, String encoded) throws HTTPException(Code)(Java Doc) public Reply delete(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected Reply dupReply(DAVRequest request, org.w3c.www.protocol.webdav.DAVReply rep, boolean created)(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) protected DAVBody getBody(DAVRequest request) throws HTTPException(Code)(Java Doc) protected DAVResponse[] getChildResponses(DAVRequest request, DAVPropFind dpf, Document document, boolean deep)(Code)(Java Doc) public long getCreationDate()(Code)(Java Doc) protected int getCurrentLockDepth()(Code)(Java Doc) protected Node getCurrentLockOwner(DAVRequest request)(Code)(Java Doc) protected long getCurrentLockTimeout(DAVRequest request)(Code)(Java Doc) protected String getCurrentLockToken(DAVRequest request)(Code)(Java Doc) protected String getCurrentLockUsername(DAVRequest request)(Code)(Java Doc) public ArrayDictionary getDeadProperties()(Code)(Java Doc) protected synchronized Hashtable getDeadPropertiesIndex()(Code)(Java Doc) protected synchronized String getNewLockToken()(Code)(Java Doc) protected DAVProperties getPropNames(DAVRequest request, Document doc)(Code)(Java Doc) protected DAVPropStat[] getPropStat(DAVRequest request, Document doc, DAVProperties dp)(Code)(Java Doc) protected DAVProperties getProperties(DAVRequest request, Document doc, DAVProperties dp)(Code)(Java Doc) protected DAVProperties getProperties(DAVRequest request, Document doc)(Code)(Java Doc) protected DAVProperties getPropertiesForCopy(Document doc)(Code)(Java Doc) protected DAVResponse getResponse(DAVRequest request, DAVPropFind dpf, Document document)(Code)(Java Doc) protected String getStatusLine(int status)(Code)(Java Doc) protected long getTokenExpirationDate(DAVRequest request)(Code)(Java Doc) protected boolean hasIntProperty(int idx)(Code)(Java Doc) protected boolean hasLongProperty(int idx)(Code)(Java Doc) protected boolean hasProperty(int idx)(Code)(Java Doc) protected boolean hasStringProperty(int idx)(Code)(Java Doc) public void initialize(Object values)(Code)(Java Doc) protected Reply internalCopyCollection(URL destination, DAVRequest request, boolean overwrite, DAVBody body, Document document) throws ProtocolException, ResourceException, MultiStatusException(Code)(Java Doc) protected DAVReply internalCopyDAVResource(DAVRequest req, URL source, URL destination, DAVBody body) throws MultiStatusException(Code)(Java Doc) protected void internalCopyProperties(DAVRequest req, URL destination, DAVBody body) throws MultiStatusException(Code)(Java Doc) protected Reply internalCopyResource(URL dst, DAVRequest request, boolean overwrite) throws ProtocolException, ResourceException(Code)(Java Doc) public boolean isCollection()(Code)(Java Doc) protected boolean isLockable(DAVRequest request)(Code)(Java Doc) protected boolean isLocked(DAVRequest request)(Code)(Java Doc) protected static boolean isReadOnly(String propname)(Code)(Java Doc) protected synchronized void lock(String token, int depth, String timeouts, String username, Node owner) throws HTTPException(Code)(Java Doc) public synchronized Reply lock(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) protected boolean lookupDirectory(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean lookupResource(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc) protected boolean matchETag(HttpEntityTag retag)(Code)(Java Doc) protected boolean matchLockToken(DAVRequest request, String locktoken)(Code)(Java Doc) public Reply mkcol(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply move(DAVRequest request) throws ProtocolException, ResourceException(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) public Reply post(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply propfind(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply proppatch(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) public Reply put(Request request) throws ProtocolException, ResourceException(Code)(Java Doc) protected synchronized void refreshLock(String timeouts)(Code)(Java Doc) public void registerResource(FramedResource resource)(Code)(Java Doc) protected synchronized void reloadDeadProperties()(Code)(Java Doc) protected DAVPropStat removeDAVProperties(DAVProperties props, Document document) throws DAVPropertyException(Code)(Java Doc) protected synchronized void removeDeadProperty(Element el) throws DOMException(Code)(Java Doc) protected void removeDeadProperty(DAVNode node, DAVProperties okdp, Document document) throws DAVPropertyException(Code)(Java Doc) protected void removeLiveProperty(DAVNode node, DAVProperties okdp, Document document) throws DAVPropertyException(Code)(Java Doc) protected synchronized void saveDeadProperties()(Code)(Java Doc) protected DAVPropStat setDAVProperties(DAVProperties props, Document document) throws DAVPropertyException(Code)(Java Doc) protected synchronized void setDeadProperty(Element el) throws DOMException(Code)(Java Doc) protected void setDeadProperty(DAVNode node, DAVProperties okdp, Document document) throws DAVPropertyException(Code)(Java Doc) protected void setLiveProperty(DAVNode node, DAVProperties okdp, Document document) throws DAVPropertyException(Code)(Java Doc) protected void setLockOwner(Node owner)(Code)(Java Doc) protected void setTimeout(String timeouts)(Code)(Java Doc) protected void skipBody(org.w3c.www.protocol.webdav.DAVReply reply)(Code)(Java Doc) protected void unlock()(Code)(Java Doc) public synchronized Reply unlock(DAVRequest request) throws ProtocolException, ResourceException(Code)(Java Doc) protected void updateLockDate(DAVRequest request)(Code)(Java Doc)
|
|
|