public class LandingPage
extends javax.servlet.http.HttpServlet
BrandingPlugin
. Additionally, a
phone number, email address, external website, and description are configurable properties.Constructor and Description |
---|
LandingPage() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
String |
expanded(int index) |
String |
extractAnnouncement(String announcement) |
String |
extractDate(String announcement,
boolean reformat) |
List<String> |
getAnnouncements() |
BrandingRegistry |
getBranding() |
String |
getFavicon() |
String |
getLinksTitle() |
Map<String,String> |
getParsedLinks() |
String |
getProductImage() |
String |
getTitle() |
String |
getVersion() |
String |
in(int index) |
String |
noAnnouncements(List<String> announcements) |
void |
setAnnouncements(List<String> announcements) |
void |
setAnnouncements(String announcements) |
void |
setBackground(String background) |
void |
setBranding(BrandingRegistry branding) |
void |
setDescription(String description) |
void |
setEmail(String email) |
void |
setExternalUrl(String externalUrl) |
void |
setForeground(String foreground) |
void |
setLinks(List<String> links) |
void |
setLinksTitle(String linksTitle) |
void |
setLogo(String logo) |
void |
setPhone(String phone) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void setBranding(BrandingRegistry branding)
public BrandingRegistry getBranding()
public void setDescription(String description)
public void setPhone(String phone)
public void setEmail(String email)
public void setExternalUrl(String externalUrl)
public void setAnnouncements(String announcements)
public void setBackground(String background)
public void setForeground(String foreground)
public void setLogo(String logo)
public String getProductImage()
public String getLinksTitle()
public void setLinksTitle(String linksTitle)
public String getTitle()
public String getVersion()
public String getFavicon()
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public String expanded(int index)
public String in(int index)
This work is licensed under a Creative Commons Attribution 4.0 International License.