Ha, right, forgot to detail it. It's a custom extension of
HttpServletResponseWrapper that overrides the
getOutputStream and getWriter methods to force the JSP engine to write in a
dedicated buffer.
It's not published in any opensource project, but here is my code. It's
really not optimized, as
Hi,
I'm a little newbie with OSGi and Restlet, so my question is :
I'd like to serve the creation of new applications/resources by other OSGi
bundle when they are plug-in on the framework.
I created a bundle named RestCore-Services that start the internal web server
and provides a method (as
Hi,
I am trying to use the spring based config in 1.1.4 with Spring 2.5.6 and I
just can't get it working.
My Application adds additional filters, one of them being my main router as a
SpringBeanRouter class.
I have a set of resources and restlet defined in the same application context
file
Make sure you have org.restlet.gae.jar on WEB-IN/lib.
This works:
public void acceptRepresentation(Representation entity)
throws ResourceException {
if (entity.getMediaType().equals(MediaType.TEXT_XML, true)) {
DomRepresentation result = null;
Can you tell us more about what isn't working exactly?
Restlet is fine with dynamically adding and removing applications. We do
this in our OSGi-based content management framework (gogoego.googlecode.com)
as a primary way of adding plugin functionality. In our case, the plugin
bundle's Activator
Give you bean an id in addition to the name. I think there was a bug in the
1.1.x series which required there to be an id.
bean name=/services id=services
Paul
On Fri, Apr 24, 2009 at 1:43 AM, Stephane Nicoll
stephane.nic...@gmail.comwrote:
Hi,
I am trying to use the spring based
Paul's correct -- in 1.1, SpringBeanRouter only looks at the aliases.
Spring doesn't consider the name to be an alias unless there's also an
id. In 1.2, SpringBeanRouter will consider the bean's primary
identifier in addition to the aliases.
Rhett
On Apr 24, 2009, at 10:07 AM, Paul
Every reverse proxy setup I know of changes the Host header (to
transparently hit the correct virtual host on the web server behind the
reverse proxy). But they do also often pass along the original somewhere,
or can be configured to do so ... do you know which reverse proxy is in
play? Squid?
Hi Rob-
I'm sure I'm just revealing my own ignorance about proxies here, but
I'm wondering if you could go into greater detail regarding why
reverse proxies would change the Host header. Seems to me that the
Host header is a fundamental part of the client's request, and is
independent from
Hey, I didn't write the darn things, no shoot the messenger :-) Still,
after a little research ... this all appears to be perfectly legal ...
RFC2616 13.5.2 lists the end to end headers that a transparent proxy is
not allowed to modify, and Host isn't on the list.
As I think about it though,
Well, that's partly why I complicated the situation with a hostname change,
port change, and a URI prefix change (because the URI part I can't deal with
via the host header alone).
But -- assuming the only difference is the hostname -- it's a question of
who's doing the configuring of the creative
11 matches
Mail list logo