Hi All,
I am trying to implement IP based authentication where a user is request is
only allowed from particular or group of ip address ,
I am trying to get user / client machine IP address thru Request object
request.getClientInfo().getAddress() - but its returning null
can someone please tell
Hello cd,
could you tell us what kind of server connector are you using? And
perhaps, what is the client (IE, Firefox, etc.)?
best regards,
Thierry Boileau
On Feb 18, 2008 9:12 AM, code dude [EMAIL PROTECTED] wrote:
Hi All,
I am trying to implement IP based authentication where a user is
Hello Fraser,
Here are some explanations about the Transformer filter with a sample code.
Application application = new Application(component.getContext()) {
@Override
public synchronized Restlet createRoot() {
Router router = new
Thierry Boileau thboileau at gmail.com writes:
Hello Fraser,
Here are some explanations about the Transformer filter with a sample code.
Application application = new Application(component.getContext()) {
@Override
public synchronized Restlet
Hi Fraser,
if you want to filter the DomRepresentation outside the RFQResource,
you can use the filter as shown in the sample code.
If you want the RFQResource to transform the DomRepresentation before
returning it, you can use directly the TransformRepresentation.
best regards,
Thierry Boileau
Which connector and version are you using? There was a recent issue about
this:
http://restlet.tigris.org/issues/show_bug.cgi?id=425
On Feb 18, 2008 3:12 AM, code dude [EMAIL PROTECTED] wrote:
Hi All,
I am trying to implement IP based authentication where a user is request
is only allowed
Hello,
can anybody tell me how to serialize a Collection of JAXB serializable
Objects? I found nothing at Google.
thank you
Stephan
Hello,
if a browser requests to a REST server, some browsers (Firefox and IE
for example, Opera not) requests text/xml and application/xml with a
higher quality than text/html. So, if the server want to allow HTML and
XML data (e.g. for data about persons) and choose by the quality of the
This legacy browser behavior is frustrating in the extreme. Why in heaven's
name would a tool meant primarily for viewing HTML, request XML as a higher
quality representation? Just goes to show how uber-excited everybody was
about XML once upon a time. You know, because in the future, all web
Hello all,
you may also add a new Filter in front of your application which
checks the agent (=request.getClientInfo().getAgent()) and update the
quality of some accepted media-types (=
request.getClientInfo().getAcceptedMediaTypes());
Or add a new preference for media-type text/html at the
Stephan Koops Stephan.Koops at web.de writes:
Hello,
can anybody tell me how to serialize a Collection of JAXB serializable
Objects? I found nothing at Google.
thank you
Stephan
With wrapper class that has a field containing your collection.
But actually its not a question for
Hello Todd,
I've just tried successfully on Windows (jdk 1.5.0_14) and Linux
Debian (jdk 1.5.0_10).
Could you try the rebuild task?
best regards,
Thierry Boileau
On Feb 18, 2008 7:48 PM, Todd Nguyen [EMAIL PROTECTED] wrote:
Everything works fine until we do an update from the trunk today (svn
I tried it many times (ant clean rebuild) before posting it to the group
:-(. It always hang at JavaDoc.
I'm running on Ubuntu Desktop 7.10. Ant Apache Ant version 1.7.0 and Java
version 1.5.0_14.
On Feb 18, 2008 11:57 AM, Thierry Boileau [EMAIL PROTECTED] wrote:
Hello Todd,
I've just tried
Hi All,
Thanks for quick reply
could you tell us what kind of server connector are you using? And
I am using http connector component.getServers().add(Protocol.HTTP, 8182);
what is the client (IE, Firefox, etc.)?
This problem is on IE as well as FF its giving null
Kevin Which connector and
14 matches
Mail list logo