org.apache.abdera.protocol.server.impl
Class AbstractRequestHandler
java.lang.Object
org.apache.abdera.protocol.server.impl.AbstractRequestHandler
- All Implemented Interfaces:
- RequestHandler
- Direct Known Subclasses:
- DefaultRequestHandler
public abstract class AbstractRequestHandler
- extends java.lang.Object
- implements RequestHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRequestHandler
public AbstractRequestHandler()
process
public void process(ServiceContext context,
RequestContext request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Specified by:
process
in interface RequestHandler
- Throws:
java.io.IOException
preconditions
protected boolean preconditions(Provider provider,
RequestContext request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
output
protected void output(RequestContext request,
javax.servlet.http.HttpServletResponse response,
ResponseContext context)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
checkMethod
protected boolean checkMethod(Provider provider,
RequestContext context)
throws java.io.IOException
- Throws:
java.io.IOException
noprovider
protected void noprovider(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
notfound
protected void notfound(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
notallowed
protected void notallowed(javax.servlet.http.HttpServletResponse response,
java.lang.String method,
java.lang.String[] methods)
throws java.io.IOException
- Throws:
java.io.IOException
combine
protected java.lang.String combine(java.lang.String... vals)