atg.multisite
Interface InactiveSiteHandler


public interface InactiveSiteHandler

This interface should be implemented by components that will deal with determining if a site active, and handling the request in the case that it is inactive. It is the responsibility of any component implementing this interface to determine the exact reason why the requested site is considered not active, and deal with the request accordingly.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 boolean handleInactiveSite(Site pSite, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
          process a request for a site to determine if it is active and if it is not, handle it.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

handleInactiveSite

boolean handleInactiveSite(Site pSite,
                           DynamoHttpServletRequest pRequest,
                           DynamoHttpServletResponse pResponse)
                           throws java.io.IOException
process a request for a site to determine if it is active and if it is not, handle it.

Parameters:
pSite - the potentially inactive site
pRequest - the Dynamo request
pResponse - the Dynamo response
Returns:
true if the caller of this method should stop processing, false if not.
Throws:
java.io.IOException - if there was an error handling the request