Hello Jean-Christophe,
I think you should use the other VirtualHost constructor, that is to say
the one with the parent context:
VirtualHost host = new VirtualHost(component.getContext());
best regards,
Thierry Boileau
Hi,
I have a problem with virtualHost.
The following code works :
Hi Jean-Christophe,
there is a light sample code in the
org.restlet.test.ComponentXmlTestCase class.
Best regards,
Thierry Boileau
Hello,
I am looking for an example on how to configure a component with an xsd.
Anyone has a such example ?
Thanks,
J-Christophe
Hi kiwi,
the gzip encoding of the entity is available via the Encoder filter.
For example, when declaring your application:
public Restlet createInboundRoot() {
Router router = new Router(getContext());
router.attachDefault(HelloWorldResource.class);
[...]
Hello Rob,
at this time the XMl writer consider the content element as simple
text in any case (in the most general case, it can contain both text and
XML elements) without taking care of formatting options.
However, it is possible to use formatting in the special case of XML
content. I've
Hello Yu,
I think that your helper is either not recognized or does not specify
correctly the serverSide attribute.
Could you check that serverSide attribute is set to true, and that the
Engine registers correctly your helper (check the
Engine.getInstance().getRegisteredAuthenticators() list)?
Hi Zsolt,
I send you a sample application that illustrates the scenario.
Best regards,
Thierry Boileau
Hello
Is it possible to authenticate a request via the RIAP protocol? One of
my application is guarded by BASIC authentication, and I'd like to use
it from another restlet application.
Hi Thierry,
Thanks a lot, I'll have a look.
zsolt
On Wed, Dec 9, 2009 at 12:25 PM, Thierry Boileau
thierry.boil...@noelios.com wrote:
Hi Zsolt,
I send you a sample application that illustrates the scenario.
Best regards,
Thierry Boileau
Hello
Is it possible to authenticate a request
ok.. thx ! work now !
On Wed, Dec 9, 2009 at 5:58 PM, Thierry Boileau thierry.boil...@noelios.com
wrote:
Hi kiwi,
the gzip encoding of the entity is available via the Encoder filter.
For example, when declaring your application:
public Restlet createInboundRoot() {
Router router
Hello Fabian and Erick,
thanks to your report, I've relaxed the checks made on the agent
properties which was based on a string comparison sensible to the case.
Now, the comparison ignore the case which should enable you to use the
tunnel filter.
The code is available in the svn repository and
Hi Jerome -
I am sorry for such a long delay in my response.
I am using ServerServlet in my application. I have one class which extends
Application and several classes which extends Resource class.
In my web.xml I have
servlet
servlet-nameRestletServlet/servlet-name
servlet-class
I've always thought that 401 Not Authorized was poorly chosen wording,
because it really says the same thing as 403 Forbidden. However, the
requirement that a 401 status also MUST send a WWW-Authenticate header I think
in practice has led 401 to really mean Not Authenticated and 403 to really
11 matches
Mail list logo