public class TraceHandlerDelegate extends Object implements TemplateHandlerDelegate
/trace
path.Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<String,Object> |
getDataForRequest(org.eclipse.jetty.server.Request baseRequest) |
String |
getTemplateForRequest(org.eclipse.jetty.server.Request baseRequest) |
URL |
getTemplateGroup() |
public String getTemplateForRequest(org.eclipse.jetty.server.Request baseRequest)
getTemplateForRequest
in interface TemplateHandlerDelegate
baseRequest
- Request that will be served by this handler. This gives the handler the
opportunity to return a different template based on the data in the request.@Nullable public com.google.common.collect.ImmutableMap<String,Object> getDataForRequest(org.eclipse.jetty.server.Request baseRequest) throws IOException
getDataForRequest
in interface TemplateHandlerDelegate
baseRequest
- Request that will be served by this handler.TemplateHandlerDelegate.getTemplateForRequest(Request)
. If
the request is malformed, then return null
in this method to indicate an error.IOException
public URL getTemplateGroup()
getTemplateGroup
in interface TemplateHandlerDelegate