restlet Questions
2
Solved
What could be causing this error?
Caused by: jakarta.servlet.UnavailableException: Servlet class org.restlet.ext.servlet.ServerServlet is not a jakarta.servlet.Servlet
at org.eclipse.jetty.servle...
3
Solved
How do I add my own headers to a request wrapped by ClientResource in Restlet? For example, I've read that you can use the following when working directly with Client:
Form headers = (Form) reques...
Apteryx asked 22/3, 2012 at 15:47
3
Solved
I have a self hosted JAX-RS REST service implemented with the JAX-RS Restlet extension.
Now I have to serve static content and I was wondering how to do it with JAX-RS. Note, that I do not know th...
6
Solved
NoSuchMethodError: com.google.common.base.Stopwatch.createStarted()Lcom/google/common/base/Stopwatch
My app is throwing NoSuchMethodError: com.google.common.base.Stopwatch.createStarted()Lcom/google/common/base/Stopwatch error. Not sure why, because 16.0.1 do contain that class, I've checked. From...
4
Solved
Does anyone know what the RESTLET maven dependencies are?
None of the entries on the site work. I had to end up installing jars to make it work.
2
Is there a Java standalone implementation to extract values of parameters in an URI as defined by an URI-Template (RFC 6570)?
The best implementation I've found is a ruby implementation ( https:...
Guru asked 18/11, 2012 at 23:48
1
On every request made to the Restlet resources, I see the following logs in Google App Engine Logs
21:38:50.059 javax.servlet.ServletContext log: ExampleAPIs: [Restlet] ServerServlet: component cl...
Schizoid asked 22/6, 2016 at 18:59
3
Solved
I have an existing code at a class which is extended from javax.ws.rs.core.Application
...
Context childContext = component.getContext().createChildContext();
JaxRsApplication application = new Ja...
Mandeville asked 14/8, 2016 at 21:32
2
Solved
My application attempts to set context attributes:
final Router router = new Router();
router.attachDefault(HttpListener.class);
org.restlet.Application myApp = new org.restlet.Application() {...
Diarmuid asked 7/6, 2016 at 13:15
6
OData is Microsoft's repackaging of its Astoria (now WCF Data Services) RESTful query/update protocol. If I want to use Java to create an OData compatible data source, how do I do that? Similarly, ...
3
Solved
I'm building some kind of proxy server with Restlet, however I am having a problem that there's no automatic way to determine the MediaType based on the client request.
Here's my code:
Representa...
1
I'm trying to use Restlet's ClientResource to connect using HTTPS to a server that uses a self-signed certificate. I have this working using a stand-alone application that just uses ClientResource ...
1
Below is my routing
public Restlet createInboundRoot(){
Router router = new Router(getContext());
router.attach("account/profile",UserProfile.class);
Following is the Resource class UserProfil...
Decaliter asked 13/1, 2016 at 12:49
1
We're using RESTlet to do a small little REST server for a project we have. We set up a bunch of routes in a class inheriting from Application:
public static void createRestServer(ApplicationConte...
Absenteeism asked 24/1, 2014 at 18:31
2
Solved
I have a Restlet ServerResource, which should process a GET request with a parameter user. If user is equal to some value, it should return some image, otherwise send an error response (404 or 403)...
Kop asked 25/11, 2015 at 8:36
4
Solved
I am testing SSL communication between client and server locally.
So I generated certificate using OpenSSL commands. Added this certificate in cacert file. Also generated .p12 file.
I am using the...
Rothman asked 10/9, 2015 at 15:42
2
I managed to implement an https restlet with bot client and server certificated. I can prove it works since if I call the server with an untrusted certification communication fails. Unfortunately I...
2
Solved
Here's my code to limit the number of request for minute:
MethodAuthorizer ma = createMethodAuthorizer();
ma.setNext(router);
FirewallRule rule = new PeriodicFirewallCounterRule(60, TimeUnit.S...
6
How do I implement Restlet function which accepts JSON post?
And how do I test this using curl?
Thanks
3
Solved
I am using the Apache Commons HttpClient along with Restlet to call a restful web service. Unfortunately, my server (based on Ruby on Rails) does not like the Transfer-Encoding: chunked that HttpCl...
Gretagretal asked 11/10, 2011 at 4:59
5
Solved
I have used restkit framework in ios. Which is very powerful and provides features like caching and all. I am looking whether a similar framework is available in android?
I came across a framework...
1
I recently updated restlet to version 2.1 and I'm no longer able to get the client certificate. I'm using the new way to get client certificate
List<Certificate> r = getRequest().getClientI...
Antimicrobial asked 24/10, 2012 at 12:4
4
Solved
Using Restlet I have created a router for my Java application.
From using curl, I know that each of the different GET, POST & DELETE requests work for each of the URIs and return the correct J...
4
Solved
I'm trying to run the first server tutorial on RESTlet docs but i'm getting errors even though i added the jars to my classpath. I added org.restlet.jar and org.restlet.ext.*
The code for the serv...
Mokpo asked 11/1, 2011 at 0:26
6
We are planning a project primarily serving content to mobile apps, but need to have a website.
My question is whether is makes sense to use Jersey or Restlet to develop REST APIs for our mobile a...
Sibeal asked 7/12, 2010 at 17:12
1 Next >
© 2022 - 2024 — McMap. All rights reserved.