com.endeca.infront.cartridge
Class DimensionSearchResultsRequestParamMarshaller

java.lang.Object
  extended by com.endeca.infront.cartridge.RequestParamMarshaller
      extended by com.endeca.infront.cartridge.DimensionSearchResultsRequestParamMarshaller

public class DimensionSearchResultsRequestParamMarshaller
extends RequestParamMarshaller

Creates DimensionSearchResultsHandler configuration from the parameters present in a request URL. The following mapping is used:


Field Summary
static String DIM_SEARCH_ENABLED
          Url parameter, "Dy", which is used to turn on processing of dimension search results Set to 1 to turn it on, set to 0 to turn it off.
 
Fields inherited from class com.endeca.infront.cartridge.RequestParamMarshaller
mRequest, mRequestMap
 
Constructor Summary
DimensionSearchResultsRequestParamMarshaller()
          Creates the marshaller for reading request parameters related to DimensionSearchResultsConfig.
 
Method Summary
 ContentItem marshall()
          Creates a new ContentItem and populates it with information from the HttpServletRequest.
 
Methods inherited from class com.endeca.infront.cartridge.RequestParamMarshaller
convertToBoolean, convertToInt, convertToList, convertToLong, override, setHttpServletRequest, setRequestMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIM_SEARCH_ENABLED

public static final String DIM_SEARCH_ENABLED
Url parameter, "Dy", which is used to turn on processing of dimension search results Set to 1 to turn it on, set to 0 to turn it off.

See Also:
DimensionSearchResultsConfig.setEnabled(boolean), Constant Field Values
Constructor Detail

DimensionSearchResultsRequestParamMarshaller

public DimensionSearchResultsRequestParamMarshaller()
Creates the marshaller for reading request parameters related to DimensionSearchResultsConfig.

Method Detail

marshall

public ContentItem marshall()
Description copied from class: RequestParamMarshaller
Creates a new ContentItem and populates it with information from the HttpServletRequest. More specifically, this method iterates through the keys in the request map; for each key (URL parameter), if a corresponding value exists in the HttpServletRequest, then this method stores the value in the new ContentItem using the ContentItem key obtained from the request map.

Overrides:
marshall in class RequestParamMarshaller


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