net.stepniak.api.utils
Class StaticServlet.Error
java.lang.Object
net.stepniak.api.utils.StaticServlet.Error
- All Implemented Interfaces:
- StaticServlet.LookupResult
- Enclosing class:
- StaticServlet
public static class StaticServlet.Error
- extends Object
- implements StaticServlet.LookupResult
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statusCode
protected final int statusCode
message
protected final String message
StaticServlet.Error
public StaticServlet.Error(int statusCode,
String message)
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface StaticServlet.LookupResult
respondGet
public void respondGet(javax.servlet.http.HttpServletResponse resp)
throws IOException
- Specified by:
respondGet in interface StaticServlet.LookupResult
- Throws:
IOException
respondHead
public void respondHead(javax.servlet.http.HttpServletResponse resp)
- Specified by:
respondHead in interface StaticServlet.LookupResult
Copyright © 2013. All Rights Reserved.