I saw an entry similar to this elsewhere with an answer but unfortunately it
doesn't work for me.
I've tried the following:
getResponse().getCookieSettings().add(myCookieSetting);
and...
SeriesCookieSetting cookies = getResponse().getCookieSettings();
cookies.add(myCookieSetting);
Hi,
I am wanting to perform an XSLT transformation on XML input.
Please see code snippet below:
if (queryString != null) {
Representation representation = new StringRepresentation(queryString,
MediaType.APPLICATION_RDF_XML);
FileRepresentation
Hi All,
We are developing an application using Restlet. We are struggling with an
issue in our application. We are calling a rest service from client and we
are unable to catch the exception which is thrown from server resource in
Restlet.
Following is the code we have written inside the
Hi All,
We are developing an application using Restlet. We are struggling with an
issue in our application. We are calling a rest service from client and we
are unable to catch the exception which is thrown from server resource in
Restlet.
Following is the code we have written inside the
Hello Praveen,
you can have a look at the user guide here :
http://wiki.restlet.org/docs_2.1/13-restlet/202-restlet.html
You need to create your own StatusService, override its getRepresentation
method and set a new instance to the aplication in its constructor:
public TestApplication() {
Hello Romain,
the artifacts have been regenerated, do they fit your need?
Best regards,
Thierry Boileau
Hello Romain,
the maven artifacts will regenerated this evening. I'll keep you informed.
Best regards,
Thierry Boileau
Hello
I still have the same error with the version 2.0.4
If
Hello Hubert,
As said Stephan, a JsonRepresentation is only able to generate
representations with the json format.
You can use the Form class, and its getWebRepresentation if you intend to to
send a application/x-www-form-
urlencoded representation.
Having said that, you can handle json
Hi All,
We are implementing an application using Restlet. In this, We need a
requirement, My Restlet application having different components(modules)
which needs to run on different servers(machines).
For example,
I have *x, y, z* modules which are installed in *a, b, c* machines
respectively.
Hello,
what happens in your case? Could send some reproductible test case?
Best regards,
Thierry Boileau
How do you find out where the entity is being consumed? I am having a
similar
problem but I have never used the entity myself, and i have no Guards only
Applications and Routers. (None of
Hello Charlie,
thanks for reporting this bug. The fix is now part of the svn repository
(2.1 trunk and 2.0 branch).
Best regards,
Thierry Boileau
On Thu, Dec 30, 2010 at 10:29 AM, Charlie Mason charlie@gmail.com
wrote:
Hi All,
I am trying to get a put request working via the GWT
Hello charlie,
can you try to override the ServerResource#getVariants method?
Best regards,
Thierry boileau
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2697595
Hello RK,
I guess you are using the internal client and server connector. These
connectors are completely rewritten for the the 2.1 release using the nio
packages, which explains why they were unstable. I think the situation is quite
better now. If you still meet problems, you can rely instead
Hello,
there is no ovious reason for avoiding you to issue any request from the
Verifier class. You should see the same behaviour when issuing the same
request in a standalone main method. What happens if you hit the resource
directly?
Best regards,
Thierry Boileau
Hi,
We are using
Hello,
As far as I can tell from the javadocs, the Application Router shouldn't be
consuming any entity information? It just sends the request to Resource
instances?
yes, you're right. The routing process does not consume the reques's entity.
My Application does have two similar routes:
Hello,
quite strange, I send a sample test code that works for me. Does it work for
you to?
best regards,
Thierry Boileau
DocumentBuilderFactory documentBuilderFactory =
DocumentBuilderFactory
.newInstance();
DocumentBuilder documentBuilder =
Hello,
I think that this error happens when the server sends an entity having a
content-type different from the gwt serialized type. In order to give the
ability to convert object to such representation, you must include the gwt
server side extension (org.restlet.ext.gwt.2.0.4.jar) and its
Hi all,
I’m pleased to announce a brand new OAuth extension for the Restlet Framework,
supporting a very recent RFC draft defining OAuth version 2.0 has been
contributed by Ericsson Labs.
The code is currently in the Restlet incubator and goes through the usual
review and adjustment
17 matches
Mail list logo