Hi All,
I am a Java & Restlet newbie, and I want to create a restlet that does a
roundtrip to a database, presents the results in HTML Text boxes in a HTML
Table and stores any changes back to the database.
I am on Exclipse and Restlet 2.1
My code below extends the ServerResource example, but
Hi all,
We have released another 2.1 release candidate and 2.0 version including bug
fixes and few API changes.
All changes are logged here:
http://www.restlet.org/documentation/2.1/jse/changes
http://www.restlet.org/documentation/2.0/jse/changes
Note that a security fix in FreeMarke
Thanks for your reply.
Unfortunately your example throws an exception in my application.
My (simplified) application looks like this:
package test;
import java.util.HashSet;
import java.util.Set;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.c
Thank you very much. Now I began to understand. If I have questions, I'll
write more
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/How-send-object-from-client-to-server-tp7451974p7453312.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
--
I'm probably misunderstanding your question, but here goes: You can't
really "send" objects in Restlet, you can only send representations. The
client resource proxy machinery makes it look as though you are sending an
object by calling a method that looks like the target method on the server
side,
I posted this message yesterday, but it never appeared on the discussion list
online, so I am reposting. Apologies if you are getting it twice:
I am trying to output large files with support for the Content-Range
header. It seems like I need to use
org.restlet.representation.OutputRepr
Alright. But for example, when you want to send an object of any class of the
server, how do you do it? Through Serializable interface? Or how?
For example, you can tell me the link, the book and i had read about it. I
just don't know where i can still read about restlet, except book "RESTlet
in t
On Tue, Apr 10, 2012 at 9:37 AM, Sultan Kosaev wrote:
> I don't understand. I modified your example on this page
>
> http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/318-restlet/303-restlet.html
> , but I can not send an object of Authentication class from client to
> server
>
Not *my* exa
Yes. Server-side resource is implement the AuthorizationResource interface.
/**On the Server side**/
Intranet Application class:
package kz.univer.intranet.server;
import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Route
Does your server-side resource implement the AuthorizationResource
interface?
There are all sorts of things that could be going wrong besides this. I
suggest that you start with the example in the Restlet wiki and adapt it to
your needs.
--tim
On Tue, Apr 10, 2012 at 12:59 AM, Sultan Kosaev wro
I really have the same problem sooo any help plz
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Unsupported-Media-Type-415-tp5963113p7451060.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
-
I really have the same problem sooo any help plz
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Unsupported-Media-Type-415-tp5963113p7451061.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
-
Hello. 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 auth);
}
**/
then i send to server the object of Authen
13 matches
Mail list logo