users@jersey.java.net

http method of temporary redirect ??

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Mon, 28 Sep 2009 20:01:40 +0200

How do I indicate the type of method accepted in the temporary URI ?
The client should do a header to find out ? or there is a header I can
include ?

return Response.temporaryRedirect(redirectUri).contentLocation(redirectUri).build();

HTTP/1.1 307 Temporary Redirect
X-Powered-By: Servlet/2.5
Server: Sun Java System Application Server 9.1_02
Location: http://fgaucho.dyndns.org:8080/arena-http/teste
Content-Location: http://fgaucho.dyndns.org:8080/arena-http/teste
Content-Type: application/xml
Content-Length: 0
Date: Mon, 28 Sep 2009 17:55:58 GMT



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl