Package com.xebialabs.deployit.errors
Class LicenseMissingErrorHandler
java.lang.Object
com.xebialabs.deployit.errors.LicenseMissingErrorHandler
- All Implemented Interfaces:
HttpErrorHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(jakarta.servlet.http.HttpServletRequest request, int code) Can this implementation handle the type of error raised for the request?voidwriteErrorContent(Writer writer) Write the content of the HTML page to display.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.deployit.HttpErrorHandler
changeResponse
-
Constructor Details
-
LicenseMissingErrorHandler
public LicenseMissingErrorHandler()
-
-
Method Details
-
canHandle
public boolean canHandle(jakarta.servlet.http.HttpServletRequest request, int code) Description copied from interface:HttpErrorHandlerCan this implementation handle the type of error raised for the request?- Specified by:
canHandlein interfaceHttpErrorHandler
-
writeErrorContent
Description copied from interface:HttpErrorHandlerWrite the content of the HTML page to display.- Specified by:
writeErrorContentin interfaceHttpErrorHandler- Throws:
IOException
-