Package com.xebialabs.deployit.errors
Class LicenseMissingErrorHandler
- java.lang.Object
-
- com.xebialabs.deployit.errors.LicenseMissingErrorHandler
-
- All Implemented Interfaces:
HttpErrorHandler
public class LicenseMissingErrorHandler extends java.lang.Object implements HttpErrorHandler
-
-
Constructor Summary
Constructors Constructor Description LicenseMissingErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(javax.servlet.http.HttpServletRequest request, int code)Can this implementation handle the type of error raised for the request?voidwriteErrorContent(java.io.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, wait
-
Methods inherited from interface com.xebialabs.deployit.HttpErrorHandler
changeResponse
-
-
-
-
Method Detail
-
canHandle
public boolean canHandle(javax.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
public void writeErrorContent(java.io.Writer writer) throws java.io.IOExceptionDescription copied from interface:HttpErrorHandlerWrite the content of the HTML page to display.- Specified by:
writeErrorContentin interfaceHttpErrorHandler- Throws:
java.io.IOException
-
-