Re: Is Representation in acceptRepresentation == Request.getEntity() ?

2009-08-06 Thread Thierry Boileau
Hello Paul, yes, this is exactly "getRequest().getEntity()". best regards, Thierry Boileau > If I am implementing: > > public void acceptRepresentation( Representation rep ) { > // ... > } > > Is using that "rep" exactly the same as if I had instead done: > > Repr

Is Representation in acceptRepresentation == Request.getEntity() ?

2009-08-04 Thread Paul J. Lucas
If I am implementing: public void acceptRepresentation( Representation rep ) { // ... } Is using that "rep" exactly the same as if I had instead done: Representation rep1 = getRequest().getEntity(); ? Is the "rep" being passed to acceptRepresentation() j