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.Target
onPost
in class org.thinginitself.http.target.MemoryTarget
org.thinginitself.http.RequestProcessException
public org.thinginitself.http.Resource getResource(org.thinginitself.http.RequestContext context)
getResource
in interface org.thinginitself.http.Target
getResource
in class org.thinginitself.http.target.MemoryTarget