hello there,
the JUnit tests (in org.restlet.test) have hard-wired port numbers which may
not suit every developer's environment. this patch introduces a new
property in the main build.xml, and injects at as a system environment
variable.
when more than one port is required, the property valu
Hi Kat Kat,
what kind of problems are you experiencing with the DomRepresentation?
best regards,
Thierry Boileau
> Well, thank you. I did get the part of getResponse() and then setEntity by
> the time I looked at your comment.
>
> Although in setEntity I could only use StringRepresentation and
Hi Dom,
is your test class short and easy to understand? Could you post it to
the mailing list?
best regards
Stephan
Dom Farr schrieb:
> In my test cases (JUnit 4), I'm using Restlet's Server class, passing in a
> Restlet object with an overriden handle method so I can control the
> respon
Have you tried the version of setEntity that has a MediaType as its second
argument? That should allow you to specify the content type you want to
return. In our project, we use the version of setEntity() that accepts a
String and a MediaType for purposes of returning XML data, and it seems to
wo
Hi Michael:
Thanks for your help, but it didn't make any difference. I always get the
"java.lang.ClassNotFoundException:
com.noelios.restlet.http.HttpServerConverter" when I make any HTTP GET request
to the standalone server. It happens with both Knopflerfish and Equinox.
I am using version 1.1
I think you can make SpringBeanRouter implement ApplicationContextAware. I made
it this way, the AOP interceptor successfully executed.
I changed very little to your SpringBeanRouter and SpringBeanFinder:
SpringBeanRouter: make it ApplicationContextAware, and holds an
ApplicationContext. Each t
Well, thank you. I did get the part of getResponse() and then setEntity by the
time I looked at your comment.
Although in setEntity I could only use StringRepresentation and otherwise
something like DomRepresentation failed.
Basically after I do POST I want to return some info in XML and conten
>>I haven't run into this because I tend to isolate any logic that needs
to be transactional in a single call in the service layer. However, I
can't think of a reason why it couldn't be made to work.
-
Normally I don't use transaction interceptor on resource/action too, but how
about secur
8 matches
Mail list logo