Class SearchServiceDebugModeHelper
- java.lang.Object
 - 
- org.ametys.web.frontoffice.search.requesttime.SearchServiceDebugModeHelper
 
 
- 
public final class SearchServiceDebugModeHelper extends Object
A helper to determine ifSearchServiceis in debug mode. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchServiceDebugModeHelper.DebugModeEnumeration of debug modes 
- 
Field Summary
Fields Modifier and Type Field Description static StringDEBUG_MODEThe parameter name for debug mode 
- 
Constructor Summary
Constructors Modifier Constructor Description privateSearchServiceDebugModeHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchServiceDebugModeHelper.DebugModedebugMode(Request request, RenderingContextHandler renderingContextHandler)Gets the debug mode 
 - 
 
- 
- 
Field Detail
- 
DEBUG_MODE
public static final String DEBUG_MODE
The parameter name for debug mode- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
SearchServiceDebugModeHelper
private SearchServiceDebugModeHelper()
 
 - 
 
- 
Method Detail
- 
debugMode
public static SearchServiceDebugModeHelper.DebugMode debugMode(Request request, RenderingContextHandler renderingContextHandler)
Gets the debug mode- Parameters:
 request- The requestrenderingContextHandler- The handler of rendering context- Returns:
 - the debug mode
 
 
 - 
 
 -