Uses of Class
org.restlet.client.representation.Representation
-
Packages that use Representation Package Description org.restlet.client Core classes of the API.org.restlet.client.data Information exchanged by components.org.restlet.client.representation Common representation data elements.org.restlet.client.resource Client and server resource classes.org.restlet.client.util Various utility classes. -
-
Uses of Representation in org.restlet.client
Methods in org.restlet.client that return Representation Modifier and Type Method Description Representation
Message. getEntity()
Returns the entity representation.Methods in org.restlet.client with parameters of type Representation Modifier and Type Method Description void
Message. setEntity(Representation entity)
Sets the entity representation.Constructors in org.restlet.client with parameters of type Representation Constructor Description Message(Representation entity)
Constructor.Request(Method method, java.lang.String resourceUri, Representation entity)
Constructor.Request(Method method, Reference resourceRef, Representation entity)
Constructor. -
Uses of Representation in org.restlet.client.data
Methods in org.restlet.client.data that return Representation Modifier and Type Method Description Representation
ReferenceList. getTextRepresentation()
Returns a representation of the list in the "text/uri-list" format.Representation
Form. getWebRepresentation()
Returns the form as a Web representation (MediaType.APPLICATION_WWW_FORM).Representation
Form. getWebRepresentation(CharacterSet characterSet)
Returns the form as a Web representation (MediaType.APPLICATION_WWW_FORM).Representation
ReferenceList. getWebRepresentation()
Returns a representation of the list in "text/html" format.Constructors in org.restlet.client.data with parameters of type Representation Constructor Description Form(Representation webForm)
Constructor.Form(Representation webForm, boolean decode)
Constructor.ReferenceList(Representation uriList)
Constructor from a "text/uri-list" representation. -
Uses of Representation in org.restlet.client.representation
Subclasses of Representation in org.restlet.client.representation Modifier and Type Class Description class
CharacterRepresentation
Representation based on a BIO character stream.class
EmptyRepresentation
Empty representation with no content.class
InputRepresentation
Transient representation based on a BIO input stream.class
ObjectRepresentation<T>
Representation based on a serializable Java object.class
StreamRepresentation
Representation based on a BIO stream.class
StringRepresentation
Represents an Unicode string that can be converted to any character set supported by Java. -
Uses of Representation in org.restlet.client.resource
Methods in org.restlet.client.resource that return Representation Modifier and Type Method Description Representation
ClientResource. delete()
Deletes the target resource and all its representations.Representation
ClientResource. delete(MediaType mediaType)
Deletes the target resource and all its representations.Representation
ClientResource. get()
Represents the resource using content negotiation to select the best variant based on the client preferences.Representation
ClientResource. get(MediaType mediaType)
Represents the resource using a given media type.Representation
Resource. getRequestEntity()
Returns the request entity representation.Representation
Resource. getResponseEntity()
Returns the response entity representation.Representation
ClientResource. handle()
Handles the call by invoking the next handler.protected Representation
ClientResource. handle(Method method)
Handles the call by cloning the prototype request, setting the method and entity.protected Representation
ClientResource. handle(Method method, MediaType mediaType)
Handles the call by cloning the prototype request, setting the method and entity.protected Representation
ClientResource. handle(Method method, Representation entity)
Handles the call by cloning the prototype request, setting the method and entity.protected Representation
ClientResource. handle(Method method, Representation entity, ClientInfo clientInfo)
Handles the call by cloning the prototype request, setting the method and entity.protected Representation
ClientResource. handle(Method method, Representation entity, MediaType mediaType)
Handles the call by cloning the prototype request, setting the method and entity.abstract Representation
Resource. handle()
Handles the call composed of the current context, request and response.Representation
ClientResource. handleInbound(Response response)
Handles the inbound call.Representation
ClientResource. head()
Represents the resource using content negotiation to select the best variant based on the client preferences.Representation
ClientResource. head(MediaType mediaType)
Represents the resource using a given media type.Representation
ClientResource. options()
Describes the resource using content negotiation to select the best variant based on the client preferences.Representation
ClientResource. options(MediaType mediaType)
Describes the resource using a given media type.Representation
ClientResource. patch(java.lang.Object entity)
Patches a resource with the given object as delta state.Representation
ClientResource. patch(java.lang.Object entity, MediaType mediaType)
Patches a resource with the given object as delta state.Representation
ClientResource. patch(Representation entity)
Patches a resource with the given representation as delta state.Representation
ClientResource. post(java.lang.Object entity)
Posts an object entity.Representation
ClientResource. post(java.lang.Object entity, MediaType mediaType)
Posts an object entity.Representation
ClientResource. post(Representation entity)
Posts a representation.Representation
ClientResource. put(java.lang.Object entity)
Puts an object entity.Representation
ClientResource. put(java.lang.Object entity, MediaType mediaType)
Puts an object entity.Representation
ClientResource. put(Representation entity)
Creates or updates a resource with the given representation as new state to be stored.Representation
Resource. toRepresentation(java.lang.Object source)
Converts an object into a representation based on the default converter service variant.Representation
Resource. toRepresentation(java.lang.Object source, MediaType target)
Converts an object into a representation based on a given media type.Representation
Resource. toRepresentation(java.lang.Object source, Variant target)
Converts an object into a representation based on client preferences.Methods in org.restlet.client.resource with parameters of type Representation Modifier and Type Method Description protected Representation
ClientResource. handle(Method method, Representation entity)
Handles the call by cloning the prototype request, setting the method and entity.protected Representation
ClientResource. handle(Method method, Representation entity, ClientInfo clientInfo)
Handles the call by cloning the prototype request, setting the method and entity.protected Representation
ClientResource. handle(Method method, Representation entity, MediaType mediaType)
Handles the call by cloning the prototype request, setting the method and entity.Representation
ClientResource. patch(Representation entity)
Patches a resource with the given representation as delta state.Representation
ClientResource. post(Representation entity)
Posts a representation.Representation
ClientResource. put(Representation entity)
Creates or updates a resource with the given representation as new state to be stored. -
Uses of Representation in org.restlet.client.util
Subclasses of Representation in org.restlet.client.util Modifier and Type Class Description class
WrapperRepresentation
Representation wrapper.Methods in org.restlet.client.util that return Representation Modifier and Type Method Description Representation
WrapperRequest. getEntity()
Returns the entity representation.Representation
WrapperResponse. getEntity()
Returns the entity representation.Representation
WrapperRepresentation. getWrappedRepresentation()
Returns the wrapped representation.Methods in org.restlet.client.util with parameters of type Representation Modifier and Type Method Description void
WrapperRequest. setEntity(Representation entity)
Sets the entity representation.void
WrapperResponse. setEntity(Representation entity)
Sets the entity representation.Constructors in org.restlet.client.util with parameters of type Representation Constructor Description WrapperRepresentation(Representation wrappedRepresentation)
Constructor.
-