org.opentox.interfaces
Interface IAcceptsRepresentation

All Known Implementing Classes:
Algorithm, ModelResource, ShutDownResource

public interface IAcceptsRepresentation

A Resource that accepts a representation through the POST HTTP method.

Author:
Sopasakis Pantelis

Method Summary
 org.restlet.representation.Representation post(org.restlet.representation.Representation entity)
          Implementation of the POST method for the specific resource.
 

Method Detail

post

org.restlet.representation.Representation post(org.restlet.representation.Representation entity)
                                               throws org.restlet.resource.ResourceException
Implementation of the POST method for the specific resource.

Parameters:
entity - The posted entity.
Returns:
The optinal represnetation of the resource following the POST.
Throws:
org.restlet.resource.ResourceException