public static final class PhotonUnifiedResponse.HtmlHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_EXTERNAL_CSS
Additional CSS files - only in case of success - contains a list of
strings
|
static String |
PROPERTY_EXTERNAL_JS
Additional JS files - only in case of success - contains a list of
strings
|
static String |
PROPERTY_HTML
Default property for HTML content
|
static String |
PROPERTY_INLINE_CSS_AFTER_EXTERNAL
Additional inline CSS - only in case of success - contains a string
|
static String |
PROPERTY_INLINE_CSS_BEFORE_EXTERNAL
Additional inline CSS - only in case of success - contains a string
|
static String |
PROPERTY_INLINE_JS_AFTER_EXTERNAL
Additional inline JS - only in case of success - contains a string
|
static String |
PROPERTY_INLINE_JS_BEFORE_EXTERNAL
Additional inline JS - only in case of success - contains a string
|
static String |
PROPERTY_VALUE
Response value property - only in case of success - contains the response
data as object
|
static String |
SUBPROPERTY_CSS_CONTENT
The sub key for CSS elements specifying the inline CSS content
|
static String |
SUBPROPERTY_CSS_HREF
The sub key for CSS elements specifying the external CSS href
|
static String |
SUBPROPERTY_CSS_MEDIA
The sub key for CSS elements specifying the media list
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addCSSAndJS(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.html.hc.special.HCSpecialNodes aSpecialNodes) |
static String |
getHTMLString(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.html.hc.IHCHasChildrenMutable<?,? super com.helger.html.hc.IHCNode> aNode,
com.helger.html.hc.special.HCSpecialNodes aSpecialNodes,
com.helger.html.hc.config.IHCOnDocumentReadyProvider aOnDocumentReadyProvider) |
static com.helger.json.IJsonObject |
getResponseAsJSON(com.helger.json.IJsonObject aSuccessValue,
com.helger.html.hc.special.IHCSpecialNodes aSpecialNodes) |
public static final String PROPERTY_VALUE
public static final String PROPERTY_EXTERNAL_CSS
public static final String PROPERTY_INLINE_CSS_BEFORE_EXTERNAL
public static final String PROPERTY_INLINE_CSS_AFTER_EXTERNAL
public static final String SUBPROPERTY_CSS_MEDIA
public static final String SUBPROPERTY_CSS_HREF
public static final String SUBPROPERTY_CSS_CONTENT
public static final String PROPERTY_EXTERNAL_JS
public static final String PROPERTY_INLINE_JS_BEFORE_EXTERNAL
public static final String PROPERTY_INLINE_JS_AFTER_EXTERNAL
public static final String PROPERTY_HTML
@Nonnull public static String getHTMLString(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nullable com.helger.html.hc.IHCHasChildrenMutable<?,? super com.helger.html.hc.IHCNode> aNode, @Nonnull com.helger.html.hc.special.HCSpecialNodes aSpecialNodes, @Nullable com.helger.html.hc.config.IHCOnDocumentReadyProvider aOnDocumentReadyProvider)
public static void addCSSAndJS(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.html.hc.special.HCSpecialNodes aSpecialNodes)
Copyright © 2014–2023 Philip Helger. All rights reserved.