Class Html
java.lang.Object
com.codename1.backend.mvc.Html
Primitives called by generated views; no template evaluation occurs here.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic StringattributeValue(Object value) Snapshot an attribute's textual value before it is checked and rendered.static Objectstatic voidbooleanAttribute(ByteSink out, String name, Object value) static byte[]static booleanstatic voidstatic voidstatic booleanstatic Stringstatic Objectstatic StringformEncoding(String value) Form binding supports the two structured HTML form encodings.static StringhtmxParameters(Model model, boolean get, String parameters) Preserve parameter filtering while keeping CSRF tokens out of htmx GET URLs.static voidlocalLocation(String location) static Modelmodel(HttpServer.Request request) static StringoptionValue(Object value) The browser derives an option's implicit value by collapsing ASCII whitespace.static HttpServer.Responseredirect(HttpServer.Request request, String location) static Objectstatic voidstatic Stringstatic StringsubmitMethod(Model model, String value) A submitter can belong to a form outside this template or fragment.static voidstatic booleanstatic Stringstatic byte[]
-
Method Details
-
utf8
-
bytes
-
string
-
truth
-
equal
-
text
-
attribute
-
attributeValue
-
submitMethod
-
formEncoding
-
htmxParameters
-
booleanAttribute
-
urlPart
-
badModel
-
require
-
field
-
errors
-
optionValue
-
checked
-
model
-
csrf
-
csrf
-
safeUrl
-
localLocation
-
redirect
-