Home   Stream   Pictures   Places   Blog  

Latest post

JAX-RS service to proxy an HTTP request in groovy

January 26, 2010
I needed a simple way to proxy an HTTP request and add an authorization header to it, so I created a REST service using JAX-RS and using groovy to call the server. I put the code on our eXo server thanks to eXo IDE, and click deploy and that's it :) If you need something similar, here is the code: import javax.ws.rs.Path import javax.ws.rs.POST import javax.ws.rs.FormParam @Path("/proxy") public class Proxy { @POST @Path("basic_auth/") public String basic_auth(@FormPa... read more

Latest pictures


Latest status updates

@giomarigi You can use a gadget with a URL pointing to your html: http://bit.ly/9XKqLu
@hoatle @aheritier Thanks :D we have great things to promote, so it's gonna be nice working with you on this.
@gazarenkov ahhhh it looks great. I miss spending time in the countryside with snow. I'd love to learn XC skiing. Do you do a lot?
Cool RT @gazarenkov: #xCMIS is moved to the Google Code! Thanks to Andrew and other #eXoUA hardworkers! http://bit.ly/aPuNOI
@nitot Mais soiree reussie :D