- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 30 of file WebPage.java.
◆ getHeaders()
Set<String> org.turro.elephant.web.context.WebPage.getHeaders |
( |
| ) |
|
◆ getHeadersStr()
String org.turro.elephant.web.context.WebPage.getHeadersStr |
( |
| ) |
|
◆ getMetas()
Set<String> org.turro.elephant.web.context.WebPage.getMetas |
( |
| ) |
|
◆ getMetasStr()
String org.turro.elephant.web.context.WebPage.getMetasStr |
( |
| ) |
|
◆ getOnLoaded()
Set<String> org.turro.elephant.web.context.WebPage.getOnLoaded |
( |
| ) |
|
◆ getOnLoadedStr()
String org.turro.elephant.web.context.WebPage.getOnLoadedStr |
( |
| ) |
|
◆ hasHeaders()
boolean org.turro.elephant.web.context.WebPage.hasHeaders |
( |
| ) |
|
Definition at line 65 of file WebPage.java.
66 return headers !=
null && !headers.isEmpty();
◆ hasMetas()
boolean org.turro.elephant.web.context.WebPage.hasMetas |
( |
| ) |
|
Definition at line 61 of file WebPage.java.
62 return metas !=
null && !metas.isEmpty();
◆ hasOnLoaded()
boolean org.turro.elephant.web.context.WebPage.hasOnLoaded |
( |
| ) |
|
Definition at line 69 of file WebPage.java.
70 return onLoaded !=
null && !onLoaded.isEmpty();
◆ initiate()
void org.turro.elephant.web.context.WebPage.initiate |
( |
IConstructor |
constructor | ) |
|
Definition at line 97 of file WebPage.java.
99 getMetas().forEach(meta -> constructor.addMeta(meta));
102 getHeaders().forEach(header -> constructor.addHeader(header));
105 getOnLoaded().forEach(onLoad -> constructor.addOnLoadedJavaScript(onLoad));
Set< String > getHeaders()
Set< String > getOnLoaded()
◆ setHeaders()
void org.turro.elephant.web.context.WebPage.setHeaders |
( |
Set< String > |
headers | ) |
|
Definition at line 38 of file WebPage.java.
39 this.headers = headers;
◆ setHeadersStr()
void org.turro.elephant.web.context.WebPage.setHeadersStr |
( |
String |
header | ) |
|
Definition at line 51 of file WebPage.java.
52 headers =
new HashSet<>();
53 headers.addAll(Strings.toList(header,
"[,;\\n]"));
◆ setMetas()
void org.turro.elephant.web.context.WebPage.setMetas |
( |
Set< String > |
metas | ) |
|
◆ setMetasStr()
void org.turro.elephant.web.context.WebPage.setMetasStr |
( |
String |
meta | ) |
|
Definition at line 46 of file WebPage.java.
47 metas =
new HashSet<>();
48 metas.addAll(Strings.toList(meta,
"[,;\\n]"));
◆ setOnLoaded()
void org.turro.elephant.web.context.WebPage.setOnLoaded |
( |
Set< String > |
onLoaded | ) |
|
Definition at line 42 of file WebPage.java.
43 this.onLoaded = onLoaded;
◆ setOnLoadedStr()
void org.turro.elephant.web.context.WebPage.setOnLoadedStr |
( |
String |
script | ) |
|
Definition at line 56 of file WebPage.java.
57 onLoaded =
new HashSet<>();
The documentation for this class was generated from the following file: