org.abstracthorizon.danube.webdav.spring
Class SpringResourceWebDAVConnectionHandler

java.lang.Object
  extended by org.abstracthorizon.danube.http.BaseReflectionHTTPConnectionHandler
      extended by org.abstracthorizon.danube.webdav.BaseWebDAVResourceConnectionHandler
          extended by org.abstracthorizon.danube.webdav.spring.SpringResourceWebDAVConnectionHandler
All Implemented Interfaces:
ConnectionHandler

public class SpringResourceWebDAVConnectionHandler
extends BaseWebDAVResourceConnectionHandler

This is connection handler for Spring framework resources

Author:
Daniel Sendula

Field Summary
protected  SpringResourceWebDAVResourceAdapter fsAdapter
          Resources adapter
 
Fields inherited from class org.abstracthorizon.danube.webdav.BaseWebDAVResourceConnectionHandler
adapter, bufferSize, collectionRenderer, readOnly, STATUS_FAILED_DEPENDENCY, STATUS_LOCKED
 
Fields inherited from class org.abstracthorizon.danube.http.BaseReflectionHTTPConnectionHandler
cachedMethods, errorResponse, noDefaultHead, noDefaultTrace
 
Constructor Summary
SpringResourceWebDAVConnectionHandler()
          Constructor
 
Method Summary
 Resource getResourcePath()
          Sets path where files are stored
 void methodPOST(HTTPConnection connection)
          POST method is the same as GET method
 void setResourcePath(Resource filePath)
          Sets path where files are stored
 
Methods inherited from class org.abstracthorizon.danube.webdav.BaseWebDAVResourceConnectionHandler
cacheMethods, collectRange, collectTimeouts, deleteLeafImpl, deleteRecursive, findResource, fixUnknownPropsResponse, getCollectionHTMLRenderer, getWebDAVResourceAdapter, isLockedRecursive, isReadOnly, lockImpl, lockRecursive, methodCOPY, methodDELETE, methodGET, methodHEAD, methodLOCK, methodMKCOL, methodMOVE, methodOPTIONS, methodPROPFIND, methodPROPPATCH, methodPUT, methodUNLOCK, obtainProps, obtainPropsRecursive, readRequestXML, setCollectionHTMLRenterer, setReadOnly, setWebDAVResourceAdapter, transmitResource, updateProps, updateProps, updatePropsRecursive
 
Methods inherited from class org.abstracthorizon.danube.http.BaseReflectionHTTPConnectionHandler
getErrorResponse, getNoDefaultHead, getNoDefaultTrace, handleConnection, invokeMethod, methodTRACE, returnError, returnSimpleContent, setErrorResponse, setNoDefaultHead, setNoDefaultTrace, updateDefaultHeadMethod, updateDefaultTraceMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fsAdapter

protected SpringResourceWebDAVResourceAdapter fsAdapter
Resources adapter

Constructor Detail

SpringResourceWebDAVConnectionHandler

public SpringResourceWebDAVConnectionHandler()
Constructor

Method Detail

methodPOST

public void methodPOST(HTTPConnection connection)
POST method is the same as GET method

Parameters:
connection - http connection

getResourcePath

public Resource getResourcePath()
Sets path where files are stored

Returns:
file path

setResourcePath

public void setResourcePath(Resource filePath)
Sets path where files are stored

Parameters:
filePath - file path


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.