public class ResourceSpawn
extends org.thinginitself.http.target.MemoryTarget
| Constructor and Description |
|---|
ResourceSpawn(java.lang.String path,
Task task,
org.thinginitself.http.HttpPeer peer) |
| Modifier and Type | Method and Description |
|---|---|
org.thinginitself.http.Resource |
getResource(org.thinginitself.http.RequestContext context) |
void |
onPost(org.thinginitself.http.RequestContext context) |
public ResourceSpawn(java.lang.String path,
Task task,
org.thinginitself.http.HttpPeer peer)
public void onPost(org.thinginitself.http.RequestContext context)
throws org.thinginitself.http.RequestProcessException
onPost in interface org.thinginitself.http.TargetonPost in class org.thinginitself.http.target.MemoryTargetorg.thinginitself.http.RequestProcessExceptionpublic org.thinginitself.http.Resource getResource(org.thinginitself.http.RequestContext context)
getResource in interface org.thinginitself.http.TargetgetResource in class org.thinginitself.http.target.MemoryTarget