public class TracesHandlerDelegate extends Object implements TemplateHandlerDelegate
Modifier and Type | Class and Description |
---|---|
static class |
TracesHandlerDelegate.TraceAttrs
Attributes for traces.
|
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 URL getTemplateGroup()
getTemplateGroup
in interface TemplateHandlerDelegate
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.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