@ GET @ Path ( "logout" ) public Response logout ( ) throws URISyntaxException { return Response . temporaryRedirect ( new URI ( "/" ) ) . cookie ( createCookie ( null , 0 ) ) . build ( ) ; }
Remove cookie from the user agent .