Package com.helger.photon.app
Class PhotonUnifiedResponse.HtmlHelper
java.lang.Object
com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
- Enclosing class:
- PhotonUnifiedResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAdditional CSS files - only in case of success - contains a list of stringsstatic final StringAdditional JS files - only in case of success - contains a list of stringsstatic final StringDefault property for HTML contentstatic final StringAdditional inline CSS - only in case of success - contains a stringstatic final StringAdditional inline CSS - only in case of success - contains a stringstatic final StringAdditional inline JS - only in case of success - contains a stringstatic final StringAdditional inline JS - only in case of success - contains a stringstatic final StringResponse value property - only in case of success - contains the response data as objectstatic final StringThe sub key for CSS elements specifying the inline CSS contentstatic final StringThe sub key for CSS elements specifying the external CSS hrefstatic final StringThe sub key for CSS elements specifying the media list -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCSSAndJS(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, com.helger.html.hc.special.HCSpecialNodes aSpecialNodes) static StringgetHTMLString(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.IJsonObjectgetResponseAsJSON(com.helger.json.IJsonObject aSuccessValue, com.helger.html.hc.special.IHCSpecialNodes aSpecialNodes)
-
Field Details
-
PROPERTY_VALUE
Response value property - only in case of success - contains the response data as object- See Also:
-
PROPERTY_EXTERNAL_CSS
Additional CSS files - only in case of success - contains a list of strings- See Also:
-
PROPERTY_INLINE_CSS_BEFORE_EXTERNAL
Additional inline CSS - only in case of success - contains a string- See Also:
-
PROPERTY_INLINE_CSS_AFTER_EXTERNAL
Additional inline CSS - only in case of success - contains a string- See Also:
-
SUBPROPERTY_CSS_MEDIA
The sub key for CSS elements specifying the media list- See Also:
-
SUBPROPERTY_CSS_HREF
The sub key for CSS elements specifying the external CSS href- See Also:
-
SUBPROPERTY_CSS_CONTENT
The sub key for CSS elements specifying the inline CSS content- See Also:
-
PROPERTY_EXTERNAL_JS
Additional JS files - only in case of success - contains a list of strings- See Also:
-
PROPERTY_INLINE_JS_BEFORE_EXTERNAL
Additional inline JS - only in case of success - contains a string- See Also:
-
PROPERTY_INLINE_JS_AFTER_EXTERNAL
Additional inline JS - only in case of success - contains a string- See Also:
-
PROPERTY_HTML
Default property for HTML content- See Also:
-
-
Method Details
-
getHTMLString
@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) -
addCSSAndJS
-
getResponseAsJSON
-