|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsmbdav.AbstractHandler
smbdav.DefaultPropfindHandler
Default implementation of a handler for requests using the WebDAV PROPFIND method.
Field Summary |
Fields inherited from interface smbdav.MethodHandler |
SC_FAILED_DEPENDENCY, SC_INSUFFICIENT_STORAGE, SC_LOCKED, SC_MULTISTATUS, SC_PROCESSING, SC_UNPROCESSABLE_ENTITY |
Constructor Summary | |
DefaultPropfindHandler()
|
Method Summary | |
void |
destroy()
Called by the Davenport servlet to indicate that the handler is being taken out of service. |
protected PropertiesBuilder |
getPropertiesBuilder()
Returns the PropertiesBuilder that will be used
to build the PROPFIND result XML document. |
void |
init(javax.servlet.ServletConfig config)
Initializes the method handler. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
jcifs.smb.NtlmPasswordAuthentication auth)
Services requests which use the WebDAV PROPFIND method. |
Methods inherited from class smbdav.AbstractHandler |
checkConditionalRequest, checkLockOwnership, createSmbFile, getFilter, getLockManager, getPrincipal, getRequestURICharset, getRequestURL, getServletConfig, getSmbFile, getSmbURL, getSmbURL, rewriteURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultPropfindHandler()
Method Detail |
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
AbstractHandler
ServletConfig
object and makes it available
via the getServletConfig
method. Subclasses overriding
this method should start by invoking
super.init(config);
init
in interface MethodHandler
init
in class AbstractHandler
config
- a ServletConfig
object containing
the servlet's configuration and initialization parameters.
javax.servlet.ServletException
- If an error occurs during initialization.public void destroy()
MethodHandler
Servlet
destroy
method. This method
gives the handler an opportunity to clean up any resources that
are being held. After this method has been called, the
service
method will not be invoked again.
destroy
in interface MethodHandler
destroy
in class AbstractHandler
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, jcifs.smb.NtlmPasswordAuthentication auth) throws javax.servlet.ServletException, java.io.IOException
service
in interface MethodHandler
service
in class AbstractHandler
request
- The request being serviced.response
- The servlet response.auth
- The user's authentication information.
javax.servlet.ServletException
- If an application error occurs.
java.io.IOException
- If an IO error occurs while handling the request.protected PropertiesBuilder getPropertiesBuilder()
PropertiesBuilder
that will be used
to build the PROPFIND result XML document.
PropertiesBuilder
that is used
to build the XML document.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |