com.endeca.infront.cartridge
Class RedirectAwareContentInclude

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.endeca.infront.assembler.BasicContentItem
              extended by com.endeca.infront.cartridge.ContentInclude
                  extended by com.endeca.infront.cartridge.RedirectAwareContentInclude
All Implemented Interfaces:
ContentItem, Serializable, Cloneable, Map<String,Object>

public class RedirectAwareContentInclude
extends ContentInclude

Contains a set of parameters used to make a request for content from the assembler. This class should be used instead of ContentInclude when support for keyword redirects is desired.

See Also:
RedirectAwareContentIncludeHandler, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RedirectAwareContentInclude(ContentItem pContentItem)
          Constructor that requires a ContentItem to describe the requested content.
RedirectAwareContentInclude(String pContentUri)
          Constructor that requires a URI to get the desired content.
 
Method Summary
 
Methods inherited from class com.endeca.infront.cartridge.ContentInclude
getContentUri, setContentUri
 
Methods inherited from class com.endeca.infront.assembler.BasicContentItem
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

RedirectAwareContentInclude

public RedirectAwareContentInclude(String pContentUri)
Constructor that requires a URI to get the desired content.

Parameters:
pContentUri - The URI for the content. The string should be properly url-encoded.

RedirectAwareContentInclude

public RedirectAwareContentInclude(ContentItem pContentItem)
Constructor that requires a ContentItem to describe the requested content.

Parameters:
pContentItem - Defines the requested content.


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.