Greetings folks,
I'm trying to implement a simple binary transfer of a file from client to
server using the JAX-RS extension for restlet. I have a method similar to
this:
@GET
@Path("/download")
@Produces("application/octet-stream")
public InputStream download()
{
return new FileInp
vn/BaseDisseminator/trunk
(Subversion repository).
Thanks again to Jerome and the rest of the Restlet contributors.
Peter
--
Peter Murrayhttp://www.pandc.org/peter/work/
Assistant Director, New Service Development tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Librar
should be able to get your
> initialization parameters simply by doing:
>
> String value =
> getContext().getParameters().getFirstValue("myServletInitParam");
Oh, good heavens -- you're making it that easy? I was trying way to
hard to fin
/noelios/restlet/ext/servlet/ServerServlet.html#getInitParameter(java.lang.String,%20java.lang.String)>
but I'm not sure how to get to it in a Restlet era with no
"RestletContainer". (I found sample code that used RestletContainer,
but that was before the API was finalized.)
Peter
--
t; Map restletAttributes =
> application.getContext().getAttributes();
> restletAttributes.put(MyApp.URI_KEY, arg[0]);
Ah! That did the trick -- thank you.
Peter
--
Peter Murrayhttp://www.pandc.org/peter/work/
Assistant Director, New Service Development tel:+1-
e command line
(or alternatively set as parameter in 'web.xml', but I haven't gotten
that far yet in the code). Interestingly, I do get the correct values
passed in for NS and OBJECTID.
Any pointers on what I might be missing?
Peter
--
Peter Murrayh
y. Thank you.
> This behaviour will change in a very short time (end of the week)
> because Jérôme is updating this part of the project.
> As mentionned earlier in this discussion, Jérôme is rethinking the URI
> routing that will rely on a URI template standardization process.
Thanks, too, f
I think there might be a typo in the tutorial. Part 8, dealing with
custom error handling, says this:
In order to customize the default messages, you will simply
need to create a subclass of LogService and override the
getRepresentation(Status, Request, Response) method.
Then just set an
Something seems to be swallowing colons from the relative part of the URL
when using the hierarchical URIs function. My code looks like this:
Router router = new Router();
Handler getXml = new GetXml();
router.attach("/getXml/{PID}", getXml);
xt week.
Peter
--
Peter Murray http://www.pandc.org/peter/work/
Assistant Director, Multimedia Systems tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network Columbus, Ohio
The Disruptive Library Technology Jester http://dltj.org/
Without intending to sound like a pest, could I get an update on the greatly
anticipated b20 release -- when it will be out and if it will have the remaining
pieces necessary to execute the integration with the Spring Framework?
Thanks in advance. Best,
Peter
--
Peter Murray
hanks for the clarification. I'd like to do what I'm doing in Spring,
but I can hack around without it for a little while longer.
Good luck preparing b19 -- I'll be eagerly watching and waiting to dive in when
it comes out.
Peter
--
Peter Murray http://ww
me! Welcome back from your three week break.
Apologies if this question sounds dense, but by "partially supported" do you
mean "you can't yet get there from here?" I, too, would be willing to help, but
I don't see enough of the pieces fitting together to make it
Jerome Louvel noelios.com> writes:
> In upcoming versions, you will be able to ignore all this plumbing in order
> to focus on your business logic. Please be patient, beta 18 is coming along
With b18 out now, can you offer some hints on how to ignore a lot of the
plumbing and make it work? I can
14 matches
Mail list logo