com.ibm.portal.resolver.webdav.commands
Interface WebdavCommand.Request

Enclosing interface:
WebdavCommand

public static interface WebdavCommand.Request

Base interface to provide information about the webdav request context.


Method Summary
 java.lang.String getBaseURI()
          Deprecated. 
 Context getContext()
          Provides access to the COR context, e.g.
 boolean matchesIfHeader(WebdavCommand.IfHandler handler)
          Performs a check against the If header, the caller provides a callback interface that allows the If header implementation to perform the checks.
 

Method Detail

getBaseURI

@Deprecated
java.lang.String getBaseURI()
Deprecated. 

Returns the baseURI of the request. This can be used to construct absolute URIs for the individual entries.

Returns:
the base URI, not null

getContext

Context getContext()
Provides access to the COR context, e.g. to make outbound calls to the resolver infrastructure. The context can also be used to provide localized versions of the served resources.

Returns:
the COR context, not null

matchesIfHeader

boolean matchesIfHeader(WebdavCommand.IfHandler handler)
                        throws java.io.IOException
Performs a check against the If header, the caller provides a callback interface that allows the If header implementation to perform the checks.

Parameters:
handler - callback handler, not null
Returns:
true if the header matches, else false
Throws:
java.io.IOException