public class EngineResource extends BaseResource
Constructor and Description |
---|
EngineResource(org.restlet.Context ctx,
org.restlet.data.Request req,
org.restlet.data.Response res) |
Modifier and Type | Method and Description |
---|---|
void |
acceptRepresentation(org.restlet.resource.Representation entity) |
protected HashMap<String,CrawlJob> |
getBuiltJobs() |
protected Engine |
getEngine() |
freemarker.template.Configuration |
getTemplateConfiguration() |
protected EngineModel |
makeDataModel()
Constructs a nested Map data structure with the information represented
by this Resource.
|
org.restlet.resource.Representation |
represent(org.restlet.resource.Variant variant) |
void |
setTemplateConfiguration(freemarker.template.Configuration tmpltCfg) |
protected void |
writeHtml(Writer writer) |
getPreferredVariant, getStaticRef
allowDelete, allowGet, allowPost, allowPut, delete, getPreferredRepresentation, getRepresentation, getVariants, handleDelete, handleGet, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, post, put, removeRepresentations, represent, setAvailable, setModifiable, setNegotiateContent, setReadable, setVariants, storeRepresentation
public EngineResource(org.restlet.Context ctx, org.restlet.data.Request req, org.restlet.data.Response res)
public void setTemplateConfiguration(freemarker.template.Configuration tmpltCfg)
public freemarker.template.Configuration getTemplateConfiguration()
public org.restlet.resource.Representation represent(org.restlet.resource.Variant variant) throws org.restlet.resource.ResourceException
represent
in class org.restlet.resource.Resource
org.restlet.resource.ResourceException
public void acceptRepresentation(org.restlet.resource.Representation entity) throws org.restlet.resource.ResourceException
acceptRepresentation
in class org.restlet.resource.Resource
org.restlet.resource.ResourceException
protected EngineModel makeDataModel()
XmlMarshaller
.protected void writeHtml(Writer writer)
protected Engine getEngine()
Copyright © 2003-2014 Internet Archive. All Rights Reserved.