|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Representation | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.data | Element of information handled by a component via a connector. |
org.restlet.resource | Common resource and representation data elements. |
org.restlet.service | Service classes used by Applications and Containers. |
org.restlet.util | Utility classes and interfaces used in the rest of the API. |
Uses of Representation in org.restlet |
---|
Methods in org.restlet that return Representation | |
---|---|
Representation |
Directory.getIndexRepresentation(Variant variant,
ReferenceList indexContent)
Returns an actual index representation for a given variant. |
Representation |
Transformer.getTransformSheet()
Returns the XSLT transform sheet to apply to message entities. |
protected Representation |
Redirector.rewrite(Representation initialEntity)
Optionnaly rewrites the response entity returned in the MODE_CONNECTOR mode. |
Representation |
Transformer.transform(Representation source)
Transforms a source XML representation by applying an XSLT transform sheet to it. |
Methods in org.restlet with parameters of type Representation | |
---|---|
Response |
Uniform.post(Reference resourceRef,
Representation entity)
Posts a representation to the identified resource. |
Response |
Uniform.post(String resourceUri,
Representation entity)
Posts a representation to the identified resource. |
Response |
Uniform.put(Reference resourceRef,
Representation entity)
Puts a representation in the identified resource. |
Response |
Uniform.put(String resourceUri,
Representation entity)
Puts a representation in the identified resource. |
protected Representation |
Redirector.rewrite(Representation initialEntity)
Optionnaly rewrites the response entity returned in the MODE_CONNECTOR mode. |
void |
Transformer.setTransformSheet(Representation transformSheet)
Sets the XSLT transform sheet to apply to message entities. |
Representation |
Transformer.transform(Representation source)
Transforms a source XML representation by applying an XSLT transform sheet to it. |
Constructors in org.restlet with parameters of type Representation | |
---|---|
Transformer(int mode,
Representation transformSheet)
Constructor. |
Uses of Representation in org.restlet.data |
---|
Methods in org.restlet.data that return Representation | |
---|---|
Representation |
Message.getEntity()
Returns the entity representation. |
Representation |
ReferenceList.getTextRepresentation()
Returns a representation of the list in the "text/uri-list" format. |
Representation |
ReferenceList.getWebRepresentation()
Returns a representation of the list in "text/html" 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). |
Methods in org.restlet.data with parameters of type Representation | |
---|---|
void |
Message.setEntity(Representation entity)
Sets the entity representation. |
Constructors in org.restlet.data with parameters of type Representation | |
---|---|
Form(Logger logger,
Representation representation)
Constructor. |
|
Form(Representation webForm)
Constructor. |
|
Message(Representation entity)
Constructor. |
|
ReferenceList(Representation uriList)
Constructor from a "text/uri-list" representation. |
|
Request(Method method,
Reference resourceRef,
Representation entity)
Constructor. |
|
Request(Method method,
String resourceUri,
Representation entity)
Constructor. |
Uses of Representation in org.restlet.resource |
---|
Subclasses of Representation in org.restlet.resource | |
---|---|
class |
ChannelRepresentation
Representation based on a NIO byte channel. |
class |
DomRepresentation
XML representation based on a DOM document. |
class |
FileRepresentation
Representation based on a file. |
class |
InputRepresentation
Transient representation based on a BIO input stream. |
class |
ObjectRepresentation
Representation based on a serializable Java object. |
class |
OutputRepresentation
Representation based on a BIO output stream. |
class |
ReadableRepresentation
Transient representation based on a readable NIO byte channel. |
class |
SaxRepresentation
XML representation for SAX events processing. |
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. |
class |
TransformRepresentation
Representation able to apply an XSLT transformation. |
class |
WritableRepresentation
Representation based on a writable NIO byte channel. |
class |
XmlRepresentation
Representation based on an XML document. |
Methods in org.restlet.resource that return Representation | |
---|---|
Representation |
Resource.getPreferredRepresentation()
Returns the preferred representation according to the client preferences specified in the associated request. |
Representation |
Resource.getRepresentation(Variant variant)
Returns a full representation for a given variant previously returned via the getVariants() method. |
Representation |
TransformRepresentation.getSourceRepresentation()
Returns the source representation to transform. |
Representation |
TransformRepresentation.getTransformSheet()
Returns the XSLT transform sheet to apply to message entities. |
Methods in org.restlet.resource with parameters of type Representation | |
---|---|
void |
Resource.post(Representation entity)
Posts a representation to the resource. |
void |
Resource.put(Representation entity)
Puts a representation in the resource. |
void |
TransformRepresentation.setTransformSheet(Representation transformSheet)
Sets the XSLT transform sheet to apply to message entities. |
Constructors in org.restlet.resource with parameters of type Representation | |
---|---|
DomRepresentation(Representation xmlRepresentation)
Constructor. |
|
ObjectRepresentation(Representation serializedRepresentation)
Constructor reading the object from a serialized representation. |
|
SaxRepresentation(Representation xmlRepresentation)
Constructor. |
|
TransformRepresentation(Context context,
Representation source,
Representation transformSheet)
Constructor. |
Uses of Representation in org.restlet.service |
---|
Methods in org.restlet.service that return Representation | |
---|---|
Representation |
StatusService.getRepresentation(Status status,
Request request,
Response response)
Returns a representation for the given status. In order to customize the default representation, this method can be overriden. |
Representation |
ConverterService.toRepresentation(Object object)
Converts a higher-level object into a representation. |
Methods in org.restlet.service with parameters of type Representation | |
---|---|
void |
ConnectorService.afterSend(Representation entity)
Call-back method invoked by the client or server connectors just after sending the entity to the target component. |
void |
ConnectorService.beforeSend(Representation entity)
Call-back method invoked by the client or server connectors just before sending the entity to the target component. |
Object |
ConverterService.toObject(Representation representation)
Converts a representation into a higher-level object. |
Uses of Representation in org.restlet.util |
---|
Subclasses of Representation in org.restlet.util | |
---|---|
class |
WrapperRepresentation
Representation wrapper. |
Methods in org.restlet.util that return Representation | |
---|---|
Representation |
WrapperResponse.getEntity()
Returns the entity representation. |
Representation |
WrapperRequest.getEntity()
Returns the entity representation. |
Representation |
WrapperRepresentation.getWrappedRepresentation()
Returns the wrapped representation. |
Methods in org.restlet.util with parameters of type Representation | |
---|---|
static ReadableByteChannel |
ByteUtils.getChannel(Representation representation)
Returns a readable byte channel based on the given representation's content and its write(WritableByteChannel) method. |
static InputStream |
ByteUtils.getStream(Representation representation)
Returns an input stream based on the given representation's content and its write(OutputStream) method. |
abstract void |
Engine.parse(Logger logger,
Form form,
Representation representation)
Parses a representation into a form. |
void |
WrapperResponse.setEntity(Representation entity)
Sets the entity representation. |
void |
WrapperRequest.setEntity(Representation entity)
Sets the entity representation. |
Constructors in org.restlet.util with parameters of type Representation | |
---|---|
WrapperRepresentation(Representation wrappedRepresentation)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |