Hello,
I currently have an application that is in development. I need to return
a pdf from the database.
I've searched and haven't been able to find information about how to do
this w/restlet.
Any information is welcome.
Thank you,
- Ben
Hi Ben,
Ben Sgro wrote:
I currently have an application that is in development. I need to return
a pdf from the database.
I've searched and haven't been able to find information about how to do
this w/restlet.
This is pretty straight forward. It's just a matter of returning a
representation
I often (almost every time!) forget to write getVariant().add(new
Variant(...)) in my code. Perhaps we could brainstorm about making
this less error-prone.
.. Adam
On Tue, Mar 18, 2008 at 4:29 PM, Michael Terrington
<[EMAIL PROTECTED]> wrote:
> Hi Ben,
>
>
> Ben Sgro wrote:
> > I currently hav
part de Adam Rosien
> Envoyé : mercredi 19 mars 2008 05:01
> À : discuss@restlet.tigris.org
> Objet : Re: Serving PDF content
>
> I often (almost every time!) forget to write getVariant().add(new
> Variant(...)) in my code. Perhaps we could brainstorm about making
> this less error
Hello Michael,
I was originally going to provide my own implementation for:
public Representation getRepresentation(Variant variant) {
My question should have also asked about specifics of serving pdf data.
I'm very new to java/groovy.
I'll google a bit more.
- Ben
Michael Terrington wrot
All:
I work with Ben, and our project is written in Groovy. So far using
Restlet in Groovy is going pretty well. When we have some time we'll
post something about what we've learned.
In the meantime, to address this specific need: Groovy doesn't support
anonymous classes. So we can't use the exac
mars 2008 17:34
> À : discuss@restlet.tigris.org
> Objet : Re: Serving PDF content
>
> All:
>
> I work with Ben, and our project is written in Groovy. So far using
> Restlet in Groovy is going pretty well. When we have some time we'll
> post something about what we
On Wed, Mar 26, 2008 at 3:03 PM, Jerome Louvel <[EMAIL PROTECTED]> wrote:
>
> Hi Avi,
>
> Why don't you try using an InputRepresentation instead? It is a concrete
> class, you just need to pass an InputStream (ex: ByteArrayInputStream).
Thanks Jerome, that's perfect. For some reason I missed th
8 matches
Mail list logo