|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.http.handler.AbstractHttpHandler
org.apache.commons.jelly.tags.jetty.JellyResourceHttpHandler
class JellyResourceHttpHandler
The actual http handler implementation for an http context in an http server
Field Summary | |
---|---|
private java.util.Map |
_tagMap
The list of tags registered to handle a request method |
private org.apache.commons.jelly.XMLOutput |
_xmlOutput
The place where to output the results of the tag body |
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private static java.lang.String |
OVERRIDE_SET_HANDLED_VAR
The name of the var to check if setHandled should not be set to true . |
Constructor Summary | |
---|---|
JellyResourceHttpHandler(org.apache.commons.jelly.XMLOutput xmlOutput)
Creates a new instance of JellyResourceHttpHandler |
Method Summary | |
---|---|
java.lang.String |
getRequestBody(org.mortbay.http.HttpRequest request)
|
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
org.mortbay.http.HttpRequest request,
org.mortbay.http.HttpResponse response)
|
void |
registerTag(org.apache.commons.jelly.Tag tag,
java.lang.String method)
|
Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler |
---|
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static final java.lang.String OVERRIDE_SET_HANDLED_VAR
private java.util.Map _tagMap
private org.apache.commons.jelly.XMLOutput _xmlOutput
Constructor Detail |
---|
public JellyResourceHttpHandler(org.apache.commons.jelly.XMLOutput xmlOutput)
Method Detail |
---|
public void registerTag(org.apache.commons.jelly.Tag tag, java.lang.String method)
public void handle(java.lang.String pathInContext, java.lang.String pathParams, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response) throws org.mortbay.http.HttpException, java.io.IOException
org.mortbay.http.HttpException
java.io.IOException
public java.lang.String getRequestBody(org.mortbay.http.HttpRequest request) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |