Package com.xebialabs.license
Class LicenseRegistrationServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.xebialabs.license.LicenseRegistrationServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class LicenseRegistrationServlet extends javax.servlet.http.HttpServlet- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTIVATION_URLstatic java.lang.StringFAVICONstatic java.lang.StringFAVICON_TYPEstatic java.lang.StringFONT_LOCATION_EOTstatic java.lang.StringFONT_LOCATION_TTFstatic java.lang.StringPRODUCT_LOGO_URLstatic java.lang.StringPRODUCT_NAMEstatic java.lang.StringREGISTRATION_TEMPLATE_FILENAMEstatic java.lang.StringREGISTRATION_VIEW_MODEL_KEY
-
Constructor Summary
Constructors Constructor Description LicenseRegistrationServlet()LicenseRegistrationServlet(com.xebialabs.license.service.LicenseInstallService licenseInstallService, com.xebialabs.license.service.LicenseService licenseService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)voidinit(javax.servlet.ServletConfig config)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
PRODUCT_NAME
public static final java.lang.String PRODUCT_NAME
- See Also:
- Constant Field Values
-
PRODUCT_LOGO_URL
public static final java.lang.String PRODUCT_LOGO_URL
- See Also:
- Constant Field Values
-
REGISTRATION_TEMPLATE_FILENAME
public static final java.lang.String REGISTRATION_TEMPLATE_FILENAME
- See Also:
- Constant Field Values
-
REGISTRATION_VIEW_MODEL_KEY
public static final java.lang.String REGISTRATION_VIEW_MODEL_KEY
- See Also:
- Constant Field Values
-
FONT_LOCATION_EOT
public static final java.lang.String FONT_LOCATION_EOT
- See Also:
- Constant Field Values
-
FONT_LOCATION_TTF
public static final java.lang.String FONT_LOCATION_TTF
- See Also:
- Constant Field Values
-
FAVICON
public static final java.lang.String FAVICON
- See Also:
- Constant Field Values
-
FAVICON_TYPE
public static final java.lang.String FAVICON_TYPE
- See Also:
- Constant Field Values
-
ACTIVATION_URL
public static final java.lang.String ACTIVATION_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
java.io.IOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
-