|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.common.SitoolsRepresentations
public final class SitoolsRepresentations
Class to produce common representation of a standard and generic SITools Response.
Method Summary | |
---|---|
static void |
configure(com.thoughtworks.xstream.XStream xstream,
Response response)
XStream configuration depending on response content. |
static org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.representation.Variant variant,
org.restlet.Context context)
Gets the Response Representation (XML / JSON) according to the given variant |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.restlet.representation.Representation getRepresentation(Response response, org.restlet.representation.Variant variant, org.restlet.Context context)
response
- Responsevariant
- RESTlet MediaTypecontext
- the Context
public static void configure(com.thoughtworks.xstream.XStream xstream, Response response)
xstream
- the stream to configureresponse
- the response to use for configure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |