Questions tagged [restlet-2.0]

Restlet is a lightweight, comprehensive, open source REST framework for the Java platform. Restlet is suitable for both server and client Web applications.

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 and HTTPS, SMTP, XML, JSON, Atom, and WADL. A GWT port of the client-side library is also available.

227 questions
1
vote
1 answer

Restlet Framework. Serialization. Don't understand how send and receive object

I am using RESTlet framework. I don't understand how server can take an object sent by the client. For example. I have such an interface on the client side: public interface AuthorizationResource { @Post public void login(Authentication…
Sultan
  • 21
  • 1
  • 6
0
votes
1 answer

How to fetch Restlet 'Context' for bean definition in Spring?

I'm trying to have Freemarker's configuration instance initialized and cached by Spring for use in my Restlet app. The issues is that ContextTemplateLoader takes an argument of type org.restlet.Context which is accessible via the getContext() method…
PhD
  • 11,202
  • 14
  • 64
  • 112
0
votes
1 answer

Restrict SDC agent connections to Restlet SDC server

What is the prescribed method to restrict connections to the Restlet tunnel server from SDC agents? Assume an agent was configured to connect to a tunnel server and The connection parameters were provided. It is possible that later we may not want…
Srini
  • 56
  • 5
0
votes
1 answer

What is the most appropriate place for placing (startup) initialization code in a Restlet application?

Where can I embed startup initialization code in a Restlet web application, without using a ServletContextListener? I wish to have transparent deployment of my Restlet to a web server like JBoss/Tomcat and would like to get rid of the…
PhD
  • 11,202
  • 14
  • 64
  • 112
0
votes
1 answer

Retrieving parameters passed in the url and returning the value in the web browser using restlet

I need help in retrieving the parameters passed when the user types in the url as http://localhost:8182/trace/abc/def?param=123 where the parameter passed is 123. How do i get the 123 displayed on the web browser.Which java classes should i change…
0
votes
1 answer

Returning value from a web browser

I had created 4 classes for the restlet. However, When I hit on the browser, http://localhost:8182/firstSteps/hello, it returns me UserName = userName, Password = password. Which class should I change in order to get the intended url such as…
0
votes
1 answer

GWT-RESTLET-SERVER Fails

I just gave a try at first Server tutorial from http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/319-restlet.html and here is the source public class FirstServerResource extends ServerResource { public static void…
Rangesh
  • 728
  • 2
  • 12
  • 27
0
votes
1 answer

Difference Between org.restlet.Client and org.restlet.resource.ClientResource

What are the main differences between org.restlet.Client and org.restlet.resource.ClientResource? I've seen the classes used semi-interchangeably, so I'm mainly just looking for a general rule for when one should be used over the other.
anon
  • 4,163
  • 3
  • 29
  • 26
0
votes
1 answer

Restlet Odata extension with HTTPS

I am trying to make a OData query to service through HTTPS with Restlet. First, I got "Not trusted server certificate" error. So I have followed http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates and added the cert to keystore. Now…
user1135839
  • 563
  • 2
  • 7
  • 14
0
votes
0 answers

How to get search results from Oracle Netsuite in Node.js app

I am newbie to Oracle Netsuite. I read and read their API document but can't find a proper solution. I am using Token Based Authentication and enabled it on the account setting, and created an access token. I have an administrator account logged in…
0
votes
1 answer

How to find which Signature Method NetSuite uses for TBA - HMAC-SHA256 or HMAC-SHA1?

I need to know which Signature method NetSuite uses currently in my account for TBA. HMAC-SHA256 or HMAC-SHA1 ? NetSuite version - 2022.1 I am using NetSuite restlet based implementation.
0
votes
1 answer

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) When accessing the resource at /MySite/ProjectA/Items…
PhD
  • 11,202
  • 14
  • 64
  • 112
0
votes
1 answer

netsuite restlet error "message": "ReferenceError: \"Ext\" is not defined. (app-all.js#1)."

I deployed a restlet to my server and selected app-all.js. some odd reason when calling it I get that error and that's it. What am I doing wrong? What should fix it?
0
votes
2 answers

How to get id of deleted records in Netsuite using Suitescript 2.0?

I could get deleted records from Netsuite using below script. But I could not get id. var customSearch = search.create({ type: "deletedrecord", columns: ["context", "deletedby", "deleteddate", "externalid", "name"], filters: [ …
Prabhu
  • 783
  • 2
  • 10
  • 35
0
votes
1 answer

Restlet Classes deployed to Tomcat

Hi I'm trying to deploy my restlet classes to a servlet contatiner to a tomcat apache server. However when i deploy it, it cannot start, which is to say a severe error occurred. Can anyone help me? PS. Why is there so little restlet documentation?…
Jonathan
  • 1
  • 1
  • 1