Class SearchServiceDebugModeHelper
- java.lang.Object
-
- org.ametys.web.frontoffice.search.requesttime.SearchServiceDebugModeHelper
-
public final class SearchServiceDebugModeHelper extends Object
A helper to determine ifSearchService
is in debug mode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchServiceDebugModeHelper.DebugMode
Enumeration of debug modes
-
Field Summary
Fields Modifier and Type Field Description static String
DEBUG_MODE
The parameter name for debug mode
-
Constructor Summary
Constructors Modifier Constructor Description private
SearchServiceDebugModeHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchServiceDebugModeHelper.DebugMode
debugMode(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
-
-