net.sf.webdav.methods
Class DoHead

java.lang.Object
  extended by net.sf.webdav.methods.AbstractMethod
      extended by net.sf.webdav.methods.DoHead
All Implemented Interfaces:
IMethodExecutor
Direct Known Subclasses:
DoGet

public class DoHead
extends AbstractMethod


Field Summary
protected  int _contentLength
           
protected  String _dftIndexFile
           
protected  String _insteadOf404
           
protected  IMimeTyper _mimeTyper
           
protected  ResourceLocks _resourceLocks
           
protected  IWebdavStore _store
           
 
Fields inherited from class net.sf.webdav.methods.AbstractMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER
 
Constructor Summary
DoHead(IWebdavStore store, String dftIndexFile, String insteadOf404, ResourceLocks resourceLocks, IMimeTyper mimeTyper, int contentLengthHeader)
           
 
Method Summary
protected  void doBody(ITransaction transaction, javax.servlet.http.HttpServletResponse resp, String path)
           
 void execute(ITransaction transaction, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  void folderBody(ITransaction transaction, String path, javax.servlet.http.HttpServletResponse resp, javax.servlet.http.HttpServletRequest req)
           
 
Methods inherited from class net.sf.webdav.methods.AbstractMethod
checkLocks, getCleanPath, getDepth, getDocumentBuilder, getETag, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, rewriteUrl, sendReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_dftIndexFile

protected String _dftIndexFile

_store

protected IWebdavStore _store

_insteadOf404

protected String _insteadOf404

_resourceLocks

protected ResourceLocks _resourceLocks

_mimeTyper

protected IMimeTyper _mimeTyper

_contentLength

protected int _contentLength
Constructor Detail

DoHead

public DoHead(IWebdavStore store,
              String dftIndexFile,
              String insteadOf404,
              ResourceLocks resourceLocks,
              IMimeTyper mimeTyper,
              int contentLengthHeader)
Method Detail

execute

public void execute(ITransaction transaction,
                    javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse resp)
             throws IOException,
                    LockFailedException
Throws:
IOException
LockFailedException

folderBody

protected void folderBody(ITransaction transaction,
                          String path,
                          javax.servlet.http.HttpServletResponse resp,
                          javax.servlet.http.HttpServletRequest req)
                   throws IOException
Throws:
IOException

doBody

protected void doBody(ITransaction transaction,
                      javax.servlet.http.HttpServletResponse resp,
                      String path)
               throws IOException
Throws:
IOException


Copyright © 2013 KnowledgePlaza. All Rights Reserved.