hello,
I my web.xml i have the following:
servlet
servlet-nameAppServlet/servlet-name
servlet-class
org.restlet.ext.servlet.ServerServlet
/servlet-class
init-param
param-namedefaultGatewayID/param-name
param-value1/param-value
/init-param
/servlet
Fabian
thanks alot for all your help
I now have that working.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2701983
in the right direction...
On Sat, Jan 29, 2011 at 3:43 PM, Randy Paries rtparies at gmail dot com
wrote:
Fabian,
i am getting closer, but i am one step away i think.
each time my service is called i pass in an encrypted string
I decrypt it and in my ChallengeAuthenticator i have
Hello,
i can not figure out how to get the localPort and server name from the Request
In my resource i need to build a URI in my XML, but i need to get the localport
and servername.
from a normal servlet i just
request.getServerName();
request.getLocalPort();
my server extends Application
it
so this appears to work:
Map attributes = getRequestAttributes();
Form responseHeaders =
(Form) attributes.get(org.restlet.http.headers);
System.out.println(responseHeaders.getFirst(host));
not sure if this is the correct way, but also does not help me getting
getLocalPort();
and provides you with many
possibilities to handle authentication. OTOH, that flexibility means a
little more work on your side to implement the authentication
'architecture' the way you want or need it.
On Wed, Jan 26, 2011 at 7:46 PM, Randy Paries rtparies at gmail dot com
wrote:
Fabian
Fabian ,
thanks for the response.
that helped, i am now getting closer.
So there is one last part i am not getting.
from the book there is the example
//snippet
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
MapVerifier verifier = new
Hello,
I there somewhere that i am missing that newbies can answer questions?
It appears that this forum is not the correct place. There is a lot of
unanswered questions.
I have bought the book but it appears that the only option at this point is to
purchase the support from the guys that own
Hello,
I am trying to create a RESTful application Server.
I am going to use the RestLet framework.
As i am designing the URL's i have some questions.
This app server is going to be the backend for an iPhone app.
The app will require authentication
So here is where i get a little confused with
hello,
So i am learning via the fire-hose. i have been reading the
RestletinAction book and i need some direction on how best to use it
in my env.
I have someone creating an iphone app thats going to be calling my
existing web app and wants to communicate RESTFUL (i hope that is
saying it
I am trying to get a hello world of restlet working
i downloaded restlet-jee-2.0.4
i am getting the exception
java.lang.NoClassDefFoundError:
com/google/gwt/user/server/rpc/SerializationPolicyProvider
i am following this
11 matches
Mail list logo