@Path(value="/") public class Configuration extends Object
Modifier and Type | Method and Description |
---|---|
BrandingRegistry |
getBranding() |
javax.ws.rs.core.Response |
getDocument(javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest httpRequest) |
String |
getFooter() |
String |
getHeader() |
static Configuration |
getInstance() |
String |
getProductName() |
String |
getStyle() |
String |
getTextColor() |
void |
setBranding(BrandingRegistry branding) |
void |
setFooter(String footer) |
void |
setHeader(String header) |
void |
setMimeType(String mimeType) |
void |
setStyle(String style) |
void |
setTextColor(String textColor) |
public static Configuration getInstance()
Configuration
@GET @Path(value="/config") public javax.ws.rs.core.Response getDocument(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.servlet.http.HttpServletRequest httpRequest)
public String getHeader()
public void setHeader(String header)
public String getFooter()
public void setFooter(String footer)
public String getStyle()
public void setStyle(String style)
public String getTextColor()
public void setTextColor(String textColor)
public String getProductName()
public BrandingRegistry getBranding()
public void setBranding(BrandingRegistry branding)
public void setMimeType(String mimeType)
This work is licensed under a Creative Commons Attribution 4.0 International License.