|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Restlet
fr.cnes.sitools.client.ProxyRestlet
public class ProxyRestlet
Proxy resource that calls an external Url. Be careful that this resource does not act as a true proxy, all headers are not copied from the external request to the response.
Constructor Summary | |
---|---|
ProxyRestlet()
Default constructor |
|
ProxyRestlet(org.restlet.Context context)
Constructor with Context |
Method Summary | |
---|---|
void |
describe(org.restlet.ext.wadl.ResourceInfo resource)
WADL describe method |
org.restlet.ext.wadl.ResourceInfo |
getResourceInfo(org.restlet.ext.wadl.ApplicationInfo applicationInfo)
|
void |
handle(org.restlet.Request request,
org.restlet.Response response)
|
Methods inherited from class org.restlet.Restlet |
---|
getApplication, getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner, start, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyRestlet()
public ProxyRestlet(org.restlet.Context context)
Context
context
- the Context
Method Detail |
---|
public void handle(org.restlet.Request request, org.restlet.Response response)
handle
in interface org.restlet.Uniform
handle
in class org.restlet.Restlet
public org.restlet.ext.wadl.ResourceInfo getResourceInfo(org.restlet.ext.wadl.ApplicationInfo applicationInfo)
getResourceInfo
in interface org.restlet.ext.wadl.WadlDescribable
public void describe(org.restlet.ext.wadl.ResourceInfo resource)
resource
- the ResourceInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |