@ThreadSafe public final class PhotonAppSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RESOURCE_BUNDLE_SERVLET_NAME |
| Modifier and Type | Method and Description |
|---|---|
static com.helger.commons.url.ISimpleURL |
getCSSPath(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.html.resource.css.ICSSPathProvider aCSS,
boolean bRegular) |
static com.helger.commons.url.ISimpleURL |
getJSPath(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.html.resource.js.IJSPathProvider aJS,
boolean bRegular) |
static String |
getResourceBundleServletName() |
static IWebURIToURLConverter |
getURIToURLConverter() |
static boolean |
isMergeCSSResources() |
static boolean |
isMergeJSResources() |
static void |
setMergeCSSResources(boolean bMergeCSSResources) |
static void |
setMergeJSResources(boolean bMergeJSResources) |
static void |
setResourceBundleServletName(String sResourceBundleServletName) |
static void |
setURIToURLConverter(IWebURIToURLConverter aURIToURLConverter) |
public static final String DEFAULT_RESOURCE_BUNDLE_SERVLET_NAME
@Nonnull public static IWebURIToURLConverter getURIToURLConverter()
public static void setURIToURLConverter(@Nonnull IWebURIToURLConverter aURIToURLConverter)
@Nonnull public static com.helger.commons.url.ISimpleURL getCSSPath(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.html.resource.css.ICSSPathProvider aCSS, boolean bRegular)
@Nonnull public static com.helger.commons.url.ISimpleURL getJSPath(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.html.resource.js.IJSPathProvider aJS, boolean bRegular)
public static boolean isMergeCSSResources()
true to merge CSS resources if possible or
false to include each CSS separately.public static void setMergeCSSResources(boolean bMergeCSSResources)
public static boolean isMergeJSResources()
true to merge JS resources if possible or
false to include each JS separately.public static void setMergeJSResources(boolean bMergeJSResources)
@Nonnull @Nonempty public static String getResourceBundleServletName()
null nor empty.Copyright © 2014–2023 Philip Helger. All rights reserved.