Hi Tim,
thank you for your quick response. As of now, I really can not use the
restlet framework at all. During the login I have 3 calls,
all of them taking in sum so much time, that in 80% the thread call times
out…
I may have another solution, which might work for our case.
Because we wrote our
Oh I thought he only wanted the status.
but could you not just call res.getResponse().getEntity()?
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2705025
Sure sounds like something else is going on in your case.
What release of Restlet are you using? More recent releases should be using
InternetDateFormat instead of SimpleDateFormat.
--tim
On Thu, Feb 17, 2011 at 3:39 AM, fritzr fr...@work.de wrote:
Hi Tim,
thank you for your quick response.
Thanks again Thierry!
Though I realized that I needed to return a representation in order for that
to work so I just return an empty representation in post methods with the
identifier set.
--
View this message in context:
I replaced the JacksonConverterService from the Jackson Restlet extension
with my local subclass (LocalJacksonConverterService) in order to override
its handling. At startup, I remove the existing one from the Engine and then
add my local version. I do it for a different reason -- to provide a
Tim thanks again!
You helped me before with your solution to modify the objectmapper so now I
did as you said and found out that by changing:
private static final VariantInfo VARIANT_JSON = new VariantInfo(
MediaType.APPLICATION_JSON);
a new variant:
private static final VariantInfo
Can we have multiple @Get and @Put for different URL's pointing to them??
For eg:
For URI: /car/nissan, I have a @Get(json) method pointing to return nissan
car attributes as json
For URI: /car, I need just a list of car attributes to be returned as json
But both these URI's are pointing to the
Hello Hetal,
you'd rather use two different resource classes here, because usually,
in RESTful design, a collection of X is a different resource than
X itself.
So in your example, you can have the following resources/URI
templates/server resource classes:
A car: /cars/{car}, CarServerResource
A
8 matches
Mail list logo