Note that no external configuration file is needed. If you want to
customize the mapping between file extensions and metadata (media
type, language or encoding), you can use the Application's
localService property.
Updated in the latest tutorial version, it's is metadataService now.
which
[...]
the method first checks for an ResponseStream and if the stream is
null it checks for an ResponseChannel (line 224).
[...]
Shouldn't that be done the other way around? The channel should be
preferred.
While thinking about it, I wonder if we need the Input/Outputstream at
all.
Why do we
[...]
While thinking about it, I wonder if we need the Input/Outputstream at
all.
Why do we not work with Channels / ByteBuffers only?
Naaahh... forget it, keep both! :)
Best regards,
Lars
--
http://www.semagia.com
Hi Piyush,
Any plans to upgrade to the latest mina release (1.0 released in
October)?
Since AsyncWeb still uses Mina 0.8 and Mina 1.0 contains compatibility
breaks, we have to wait for AsyncWeb (or write our own HTTP server).
Best regards,
Lars
--
http://www.semagia.com
Hello all,
I'm working on a sample app with restlets. It's going well so far. I
have a design question for those who are more familiar with the REST
style.
Resources:
person
location
A person has a location. How should you move an existing person to an existing
location?
Originally I did a POST
Hello!
I'm working to upgrade our Tomcat servlet-based Restlet code to 1.0B20,
from 1.0B18. I think I have almost everything done, but one thing
that's proving a bit difficult is getting access to the servlet
parameters inside of my Application.
I'm using a stock ServerServlet, the
I noticed that using a Client, that the connection is opened and closed for
every call. I have a web service client that would like to hold the connection
open across a series of requests. I can't see how to do that. I'm using the
ServerServlet, in case that matters.
Thanks,
Sean
Application.
Defined as
Restlet deployable into containers. Applications are guaranteed to
receive calls with their base reference set relatively to the virtual
host that served them. This class is both a descriptor able to create
the root Restlet and the actual Restlet that can be attached to
8 matches
Mail list logo