info.magnolia.channel
Interface ChannelResolver


public interface ChannelResolver

Defines a type that can resolve what channel is to be used.

Version:
$Id$

Field Summary
static String ALL
          Default Channel to use in case none of the ChannelResolver could successfully resolve.
static String UNRESOLVED
          Constant indicating that no channel was resolved.
 
Method Summary
 String resolveChannel(javax.servlet.http.HttpServletRequest request)
           
 

Field Detail

ALL

static final String ALL
Default Channel to use in case none of the ChannelResolver could successfully resolve.

See Also:
Constant Field Values

UNRESOLVED

static final String UNRESOLVED
Constant indicating that no channel was resolved.

See Also:
Constant Field Values
Method Detail

resolveChannel

String resolveChannel(javax.servlet.http.HttpServletRequest request)
Parameters:
request - to retrieve channel from.
Returns:
name of the resolved channel or UNRESOLVED if it could not be resolved.


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.