ikrs.httpd
Interface ResourceAccessor

All Known Implementing Classes:
AbstractResourceAccessor, FileSystemResourceAccessor

public interface ResourceAccessor


Method Summary
 Resource locate(java.net.URI uri, HTTPHeaders headers, PostDataWrapper postData, java.util.Map<java.lang.String,BasicType> additionalSettings, java.util.Map<java.lang.String,BasicType> optionalReturnSettings, java.util.UUID sessionID)
          This method locates the desired resource addressed by the given URI.
 

Method Detail

locate

Resource locate(java.net.URI uri,
                HTTPHeaders headers,
                PostDataWrapper postData,
                java.util.Map<java.lang.String,BasicType> additionalSettings,
                java.util.Map<java.lang.String,BasicType> optionalReturnSettings,
                java.util.UUID sessionID)
                throws java.util.MissingResourceException,
                       AuthorizationException,
                       HeaderFormatException,
                       DataFormatException,
                       UnsupportedFormatException,
                       ConfigurationException,
                       java.lang.SecurityException,
                       java.io.IOException
This method locates the desired resource addressed by the given URI.

Throws:
ResouceMissingException - If the specified resource cannot be found.
AuthorizationException - If the requested resource requires authorization.
HeaderFormatException - If the passed headers are malformed.
DataFormatException - If the passed data is malformed.
ConfigurationException - If the system encounters any server configuration issues.
java.lang.SecurityException - If the requested resource is not accessible (forbidden).
java.io.IOException - If any IO errors occur.
java.util.MissingResourceException
UnsupportedFormatException