Questions tagged [restlet]

Restlet Framework is an open source framework for Java (and JavaScript) to expose and consume RESTful web APIs. It has editions for Java SE, Java EE, OSGi, GAE, GWT and Android.

Restlet is a lightweight, comprehensive, open source REST framework for the Java platform. Restlet is suitable for both server and client Web applications. It supports major Internet transport, data format, and service description standards like:

  • HTTP, HTTPS
  • SMTP, SMTPS
  • POP3, POP3S
  • FTP, SDC
  • FILE, RIAP, WAR pseudo protocols
  • XML, JSON, Atom, OData and WADL media types
  • etc.

For additional details:

1254 questions
0
votes
2 answers

How to show Json come from the Restlet Server in jsp?

In my JSP file, there is a Form which send a "POST" request to the Restlet Server. And then, the Restlet Server will return a JsonRepresentation, how to get the Json and show the Json in my JSP.Like this?But is seems not work,why?
kerry
  • 1
  • 4
0
votes
2 answers

Where do I find the org.restlet.android.jar?

I have downloaded the android editions for the restlet api's and see org.restlet.jar in libs but when I look at code eamples from other people they reference org.restlet.android.jar. Where do i find this jar? Or is it not needed? Apparently I am…
0
votes
3 answers

Restlet + mongoDB + Freemarker

We are making a web based application in Java that should be accessible to any device and so we zeroed in for Restlet for our REST based web service need. For UI we are thinking of Freemarker together with Twitter bootstrap and database will be…
user1353436
  • 31
  • 1
  • 7
0
votes
1 answer

How to make a URI which passes two parameters using restlet : Restlet 2.1

This is an example of a method: updatePatientAddressByID(String ID, String address) Any Help
0
votes
1 answer

Mapping URL to Java methods using Google App Engine and Jersey

I am trying to run the HelloWorld example for Jersey, but failing. This is what I've tried. I have setup my appengine-web.xml like this
sissonb
  • 3,730
  • 4
  • 27
  • 54
0
votes
2 answers

Jersey and other JAX-RS api extensions - e.g. Shiro, Guice

Does Jersey got any extensions to support frameworks like Shiro, Guice for example? Or do you use them seperately, independent from jersey? How does it look for other JAX-RS frameworks. Restlet, RestEasy - do they provide any extensions or is it…
Robin Wieruch
  • 14,900
  • 10
  • 82
  • 107
0
votes
1 answer

Using play and restlet together

I've developed a pretty extensive rest API using restlet, but now I need to serve web pages. I've looking into the play framework and it seems like a pretty good solution to my problem. There's a lot of code to share so I'd like to have both running…
Bjorn Roche
  • 11,279
  • 6
  • 36
  • 58
-1
votes
1 answer

How to access WCF Data service on Android without Restlet framework?

I am currently using restlet fw to access WCF Data Service. I have copied code from restlet support sites but it is not working and giving me error " Can't get metadata for http://xx.xx.xx/xxService.svc/$metadata--Communication Error[1001]...! I…
Avin
  • 301
  • 1
  • 3
  • 12
-1
votes
2 answers

How to request a server and get response for android client

I am a beginner to android and have designed a login GUI for app where a user will enter the login details. After fetching login details in java code (in strings) how can I pass it to server to check for a valid combination? Also when a new user…
Saurabh Agrawal
  • 1,355
  • 3
  • 17
  • 33
-1
votes
1 answer

Send lastmodified/Etag/Cache headers in restlet for GET request

I couldn't find simple example that sends lastmodified/Etag/Cache headers in restlet for GET requests. Thanks
Vjy
  • 2,106
  • 3
  • 22
  • 34
-1
votes
1 answer

How to convert a servlet request to a JSON request

I had an application that is running with servelets. I want to test that application using REST services or POSTMAN. So, I want to know, whether it could be possible to convert a servelet application's request and response into JSON for testing it…
E V N Raja
  • 110
  • 1
  • 5
  • 17
-1
votes
1 answer

HttpServletResponse won't stream bytes to client

I've been trying to figure out why the Servlet won't return the bytes to the client with this code (although the bytes is read based on the logs): Redirector redirector = new SelfInjectingRedirector(getContext(), targetPattern, …
quarks
  • 33,478
  • 73
  • 290
  • 513
-1
votes
2 answers

best approach to consume third party restful webservices with jboss fuse

I am using JBoss FUSE for integration. I am new to it. I want to consume/call third party restful webservices. Please can anyone tell me what will be the best approach to create endpoint (like cxf, restlet, etc.). Also if there is any working…
Java User
  • 21
  • 2
-1
votes
2 answers

How to convert ResultSet to json object in Restlet framework?

I have a ResultSet object as a result of request to a table: ResultSet result = stat.executeQuery("SELECT * FROM Greetings"); I need to return it to browser in json format. Is it possible to use some Restlet tool to convert the variable of…
vitaliy4us
  • 483
  • 5
  • 21
-1
votes
2 answers

Java Restlet gets 503/504 error, stops running

I have a Java program set up to make a request to a server every second, using Restlet, but every week during the same time they do some maintenance for about a minute within the hours that I'm running my program. As a result, I get a couple of 504…
Beez
  • 391
  • 5
  • 6
  • 16
1 2 3
83
84