restlet-2.0
Restlet: Adding a role depending on which 'project' (group) the user is accessing
Assume a blackboard type application. There are 2 Projects - ProjectA and ProjectB. User \'nupul\' (me) is part of both projects. For A I\'m an admin and for B I\'m just a \'member\' (no admin rights)[详细]
2023-03-28 04:41 分类:问答Length Required (411) - Length Required in a RESTlet client
Im new to REST and am developing a client to post data to a external hosted service. Im using org.reslet.resource.ClientResource to create a client[详细]
2023-03-15 14:05 分类:问答How to construct message header for a HEAD response with restlet
I\'m trying to create a HEAD response with restlet. Unfortunatly there is ony a @Get annotation, but the restlet author states, that you have to use a @Get, and then compare the Method.[详细]
2023-03-12 11:36 分类:问答Caching InitialContext and DataSource in a Java EE web-app
In the following Connector/J reference for JDBC/MySQL it suggests we cache the instances of InitialContext and Datasource. Would just making it a private static instance solve the caching? Shouldn\'t[详细]
2023-02-12 04:44 分类:问答Is Restlet returning 415 Unsupported Media Type when it should return 400 Bad Request?
I\'m using Restlet 2.1 with jackson to build a json REST api. When I make a request with the expected content type but a malformed body, I get back a 415 \"Unsuppored Media Type\" status code. I thin[详细]
2023-01-28 01:18 分类:问答RESTlet tutorial application does not return Java Objects (JSON only)
I\'ve been looking the source code available from the Restlet official tutorial. I am trying to hit the Restlet server using the Android app from he tutorial adn I only get the JSON response, not the[详细]
2023-01-25 07:12 分类:问答Request Accept media type in RESTlet 2
How can I identify the resource media type in RESTlet2, I tried following in my class extended from ServerResource[详细]
2023-01-15 16:52 分类:问答org.restlet: Posting JSON content against webservice returns HTTP error 411 (length required)
Simplified code example: http://pastebin.com/9ZQxSXi9 Hi I wanted to experiment with the restlet 2.0 library and the gpodder webservice but somehow i reached a point where I can\'t see the wood for[详细]
2023-01-15 06:29 分类:问答RESTlet 2.0 tutorial application does not work on appengine
I have been playing with the source code available from the following tutorial. The GWT/GAE application works in development mode, however when its deployed, the server always returns the response in[详细]
2023-01-14 13:47 分类:问答How can I disable logging in Restlet 2.0?
I simply want to disable Restlet\'s logging to stdout/stderr in my project and forward all Restlet loggi开发者_开发技巧ng through the SLF4J facade provided by org.restlet.ext.slf4j. Is there an easy w[详细]
2023-01-13 08:22 分类:问答