Re: [Resteasy-users] Setting cookies per request in Resteasy Client

2016-05-05 Thread Weinan Li
Hi Craig, We depreated this mailing list, please start to use the new ones: https://lists.jboss.org/mailman/listinfo/resteasy-dev https://lists.jboss.org/mailman/listinfo/resteasy https://lists.jboss.org/mailman/listinfo/resteasy-commits -- Weinan Li / JBoss > On Apr 11, 2016, at 10:54

Re: [Resteasy-users] Max headers reached

2015-12-23 Thread Weinan Li
Hi Ricardo, Could you please help to create a JIRA issue for this? -- Weinan Li / JBoss > On Dec 23, 2015, at 12:14 AM, Ricardo Veloso <ricardo.vel...@flowinn.biz> > wrote: > > When invoking entities with a variant with an encoding, and an > IllegalStateException is

Re: [Resteasy-users] Anyone merging PRs?

2015-11-07 Thread Weinan Li
Sorry for the delay John. Ron and I are working on Wildfly/EAP bug requests these days. Let us see whether we can find more time to review PRs asap. -- Weinan Li / JBoss > On Nov 7, 2015, at 8:39 PM, John D. Ament <john.d.am...@gmail.com> wrote: > > All, > > I've not

Re: [Resteasy-users] Version 3.0.12.Final in a Maven Repository?

2015-08-18 Thread Weinan Li
Hi Ron, Could you please help to upload 3.0.12.Final to our jboss.org maven repository? (Or can you please tell me how to do it so I can upload it). -- Weinan Li / JBoss On Aug 18, 2015, at 1:09 PM, Anthony Whitford anth...@whitford.com wrote: I see that Version 3.0.12.Final was released

Re: [Resteasy-users] Resteasy 3.0.9.Final not deleting temporary files. What to do?

2015-08-17 Thread Weinan Li
Hi Paulo, Or you can directly use the upstream master plus this PR: https://patch-diff.githubusercontent.com/raw/resteasy/Resteasy/pull/671.diff Which we have fixed many build problems and easier to use :-) -- Weinan Li / JBoss On Aug 17, 2015, at 7:55 PM, Paulo Augusto de Figueiredo

Re: [Resteasy-users] Resteasy 3.0.9.Final not deleting temporary files. What to do?

2015-08-17 Thread Weinan Li
Hi Paulo, Could you please provide us some codes about your use case so we can reproduce the bug to investigate on it? -- Weinan Li / JBoss On Aug 18, 2015, at 3:46 AM, Paulo Augusto de Figueiredo Vivacqua paulo.vivac...@globalweb.com.br wrote: Weinan, We were able to run

Re: [Resteasy-users] Resteasy 3.0.9.Final not deleting temporary files. What to do?

2015-08-15 Thread Weinan Li
Maybe it’s affected by this: https://issues.jboss.org/browse/RESTEASY-1182 https://github.com/resteasy/Resteasy/pull/654/files It’s fixed in 3.0.12.Final: https://github.com/resteasy/Resteasy/releases/tag/3.0.12.Final -- Weinan Li / JBoss On Aug 15, 2015, at 2:17 AM, Paulo Augusto de

Re: [Resteasy-users] How to remove headers from resteasy Response

2014-06-24 Thread Weinan Li
Maybe you can use ResponseBuilder to build a custom response? In addition: While @Cache builds a complex Cache-Control header, @NoCache is a simplified notation to say that you don't want anything cached i.e. Cache-Control: nocache.” On Jun 24, 2014, at 10:34 PM, ignou_mca

Re: [Resteasy-users] Ignoring a sub-url (when deployed in wfly8) ?

2014-05-21 Thread Weinan Li
Hi Heiko, If you bind @ApplicationPath to ‘/‘, then you will mask all the other paths of JPS pages. Please bind RESTEasy to some specific path, ‘/rest/‘ for example. Here is an example for your reference: https://github.com/wildfly/quickstart/tree/master/kitchensink-jsp -- Weinan Li

Re: [Resteasy-users] call methods after javax.ws.rs.core.Application initialization

2014-04-14 Thread Weinan Li
Why not trying to use embed server, which you can have better control on lifecycle: http://docs.jboss.org/resteasy/docs/3.0-beta-3/userguide/html_single/#RESTEasy_Embedded_Container Sent with Unibox On Mar 6, 2014, at 10:43 PM, Alexandros Antoniadis

Re: [Resteasy-users] Ho to call a method of another REST interface from a given interface within same container?

2014-02-06 Thread Weinan Li
that not exposed as a web service. -- Weinan Li On Friday, February 7, 2014 at 3:50 AM, Cassa L wrote: Hi, I have two REST interfaces in my web application. say RestA and RestB. RestB needs to invoke a method from RestA within same container from one of its method. How do I call

Re: [Resteasy-users] Scan vs Spring

2014-02-06 Thread Weinan Li
/resteasy-springMVC -- Weinan Li On Friday, February 7, 2014 at 3:41 AM, Anthony Whitford wrote: I have a project that is using RestEasy -- there were 23 resources. The project was using resteasy.scan.resources=true in the web.xml (http://web.xml). Now, I added another resource

Re: [Resteasy-users] Oauth2 with RestEasy behind an AWS Load Balancer

2014-01-26 Thread Weinan Li
/en-US/questions/689713 -- Weinan Li On Monday, January 27, 2014 at 4:24 AM, james truty wrote: Hi Weinan, The AWS load balancer sends an X-Forwarded-Proto header to the Jboss server in the backed, which Jboss is able to use if I add this valve and option to my jboss-web.xml (http

Re: [Resteasy-users] Oauth2 with RestEasy behind an AWS Load Balancer

2014-01-25 Thread Weinan Li
information to backend JBoss servers. If AWS load balancer supports AJPv13 protocol, it should also be able to pass the SSL information to JBoss. -- Weinan Li On Saturday, January 25, 2014 at 6:55 AM, james truty wrote: I am trying to use RestEasy in Jboss as a central auth server

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-01-19 Thread Weinan Li
Hi John, Nice article! I’ve forked your project to learn from it :-) -- Weinan Li On Sunday, January 19, 2014 at 10:58 PM, John D. Ament wrote: Hi all, In case anyone's interested, I just put out a blog post on how you can use RestEasy and the Netty Embedded Server with Weld

Re: [Resteasy-users] Running JAX-RS 2.0 O'Reilly book samples on Tomcat..

2014-01-16 Thread Weinan Li
zip02115/zip countryUSA/country /customer -- Weinan Li On Thursday, January 16, 2014 at 1:50 PM, Weinan Li wrote: Hi Kapil, Are you using oreilly-jaxrs-2.0-workbook/ex03_1” or oreilly-workbook/ex03_1”? The former one can only be deployed in a JavaEE application server that supports JAX

Re: [Resteasy-users] Running JAX-RS 2.0 O'Reilly book samples on Tomcat..

2014-01-15 Thread Weinan Li
com.restfully.shop.services.ShoppingApplication And then you can access it by http://127.0.0.1:8080/ex03_1/customers -- Weinan Li On Thursday, January 16, 2014 at 1:16 AM, Kapil Gambhir wrote: am trying to run the samples from the O'Reilly book (by Bill Burke) on Tomcat. Tried both for Tomcat 7 and 8. The ShoppingApplication

Re: [Resteasy-users] Fwd: Regarding Ssl handshake during certificate authentication on jboss

2013-09-03 Thread Weinan Li
-- Weinan Li On Wednesday, September 4, 2013 at 3:16 AM, Mukul Panwar wrote: Hi Wenian I also tried now the similar approach by using a Http apache client library whic is handling some internally and reusing the handshake. But I want to user resteasy client library only and some how

Re: [Resteasy-users] RESTeasy equivalent for Jersey InjectableProvider

2013-09-03 Thread Weinan Li
-- Weinan Li On Wednesday, September 4, 2013 at 4:58 AM, Jakub Narloch wrote: Hi, I was actually curiouse if there is a similar functionality in RESTeasy to the Jersey InjectableProvider? If I didn't make any mistake, seems RESTEasy doesn't have similar functions. RESTEasy's

Re: [Resteasy-users] Fwd: Regarding Ssl handshake during certificate authentication on jboss

2013-08-29 Thread Weinan Li
-- Weinan Li On Friday, August 30, 2013 at 12:20 AM, Mukul Panwar wrote: Hi Bill I also tried successfully to implement certificate authentication but SsL handshake doing every time of request. Which should reuse the first handshake session. Please suggest about it. Hi Mukul

Re: [Resteasy-users] Resteasy 3.0-beta-4 ejb-integrtation-test fails on AS 7.1.1.Final

2013-04-11 Thread Weinan Li
/11/2013 9:21 AM, Weinan Li wrote: On Apr 11, 2013, at 7:10 AM, Tom Coleman tcole...@autowares.com wrote: Can someone please help with trying to get a Resteasy ear/ejb/war project running on AS7? Below is the output from the deployment of the ejb-integration test in the jboss

Re: [Resteasy-users] [repost]: Long task, short request

2013-04-07 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, April 5, 2013 at 7:09 PM, Friso Vrolijken wrote: Hi Li, No, I’ve not tried that, as from the documentation I gather that the request will not return (i.e. the client will be kept waiting

Re: [Resteasy-users] [repost]: Long task, short request

2013-04-05 Thread Weinan Li
Have you tried the new async feature in servlet 3.0? RESTEasy supports it. -- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, April 4, 2013 at 4:49 PM, Friso Vrolijken wrote: Hi all, I noticed that my previous message wasn't displayed correctly, so I'm

Re: [Resteasy-users] Unable to find a MessageBodyReader of content-type text/html; charset=utf-8

2013-02-23 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Saturday, February 23, 2013 at 3:04 AM, Nuwan Bandara wrote: Hi, Thanks for your reply. Here's my code public ListAnalyteResult interpretResultListRemote(ListAnalyteResult analyteResultList) throws AREException

Re: [Resteasy-users] Unable to find a MessageBodyReader of content-type text/html; charset=utf-8

2013-02-23 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Saturday, February 23, 2013 at 11:16 PM, Weinan Li wrote: -- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Saturday, February 23, 2013 at 3:04 AM, Nuwan Bandara wrote: Hi

Re: [Resteasy-users] How do I mock test file upload with @MultipartForm and POJO?

2013-01-24 Thread Weinan Li
I'll check this one. -- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, January 24, 2013 at 11:29 AM, Gabriella Turek wrote: My form POJO: public class FileUploadForm { @FormParam(file) @PartType

Re: [Resteasy-users] Mixing query and form parameters

2013-01-22 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, January 22, 2013 at 9:46 PM, Denica Gencheva wrote: Hi, I'm facing the following problem: @Path(/my_path) @Produces(MediaType.TEXT_HTML) public interface MyService { @GET Response readAction(@QueryParam

Re: [Resteasy-users] Resource annotation question

2013-01-18 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 18, 2013 at 2:35 PM, Kurt T Stam wrote: Hi guys, Running on AS7 and RESTeasy 2.3.5, I'm trying to inject a mail session in my JAXRS endpoint using /** * The JAX-RS resource that handles

Re: [Resteasy-users] Resource annotation question

2013-01-18 Thread Weinan Li
Ron has just submitted 10k+ examples on using CDI, EJB with RESTEasy! The code is here: https://github.com/resteasy/Resteasy/pull/236/files Feel free to refer to it! :-) -- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 18, 2013 at 2:35 PM, Kurt T Stam

Re: [Resteasy-users] Issue regarding non-English characters during REST communication

2013-01-13 Thread Weinan Li
Hi Csanyi, Which version of RESTEasy you are using? Ron has fixed a bunch of encoding problems since 2.3.5.Final. If it still not work, could you please describe your problem in detail? Thanks! -- Weinan Li On Sunday, January 13, 2013 at 9:03 PM, András Csányi wrote: Dear All, I

Re: [Resteasy-users] Netty - RestEasy integration, problem with concurrent requests - ClosedChannelException

2013-01-04 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 4, 2013 at 4:08 PM, mete wrote: Hello folks, i am working on a poc, and i want to use netty but i need a simpler way to interact with the http requests so i decided to go with the netty support

Re: [Resteasy-users] Netty - RestEasy integration, problem with concurrent requests - ClosedChannelException

2013-01-04 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 4, 2013 at 4:52 PM, mete wrote: Hello, I am using resteasy 2.3.5.Final resteasy.version2.3.5.Final/resteasy.version dependency groupIdorg.jboss.resteasy/groupId

Re: [Resteasy-users] Netty - RestEasy integration, problem with concurrent requests - ClosedChannelException

2013-01-04 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 4, 2013 at 5:15 PM, mete wrote: Hello, Sorry for the trouble. I think its the issue is with the ab testing tool that i am using. its version 2.3 on macosx. i just executed the similar ab test

Re: [Resteasy-users] Newbie question REST

2013-01-03 Thread Weinan Li
-- Weinan Li On Wednesday, January 2, 2013 at 10:45 PM, Bill Burke wrote: On 12/21/2012 4:12 PM, Skriloff, Nicholas wrote: I have three questions 1) I want to see all the restful urls available when I start up EAP6 in the server.log file. How do I configure standalone.xml

Re: [Resteasy-users] @Form and providers

2013-01-03 Thread Weinan Li
-- Weinan Li On Wednesday, January 2, 2013 at 10:50 PM, András Csányi wrote: Dear All, I would like to get some clarification and a little help. I'm going to create a software which has REST service on server side and it will have to type of client, a native client built on Swing

Re: [Resteasy-users] Will RestEasy work with OLD EJB

2013-01-03 Thread Weinan Li
-- Weinan Li On Friday, January 4, 2013 at 10:37 AM, Skriloff, Nicholas wrote: Resteasy folks, I am converting a J2EE application that runs on JBOss 4.0.5 to run on JBOSS 7.1.1 OR EAP6. Our EJBS are presently from J2ee version 1.3.1. J2EE 1.3

Re: [Resteasy-users] Newbie question REST

2012-12-27 Thread Weinan Li
-- Weinan Li On Saturday, December 22, 2012 at 5:12 AM, Skriloff, Nicholas wrote: I have three questions 1) I want to see all the restful urls available when I start up EAP6 in the server.log file. How do I configure standalone.xml logging to show the rest easy services

Re: [Resteasy-users] @Form and non-alpha map keys

2012-12-02 Thread Weinan Li
-- Weinan Li On Saturday, December 1, 2012 at 4:47 AM, John Reiter wrote: Weinan, I just entered a JIRA ticket for this issue: https://issues.jboss.org/browse/RESTEASY-805 Awesome! I've assigned it to me :-) Thanks! John On Fri, Nov 30, 2012 at 2:57 AM, Weinan Li l.wei

Re: [Resteasy-users] @Form and non-alpha map keys

2012-11-29 Thread Weinan Li
-- Weinan Li On Thursday, November 29, 2012 at 11:41 PM, Bill Burke wrote: I don't see a reason why this couldn't be fixed. Cool! John, could you please create a JIRA for this and provide me the link so I could assign it to me? Please describe your requirements in detail and I'll

Re: [Resteasy-users] @Form and non-alpha map keys

2012-11-29 Thread Weinan Li
-- Weinan Li On Thursday, November 29, 2012 at 11:58 PM, John Reiter wrote: I know it's obvious from the regex, but it looks like map keys with numbers also wouldn't work right now (all I've tested is the case I outlined in my email though). Hi John ,could you please sum up your

Re: [Resteasy-users] Interceptor MessageBodyWriter problems

2012-11-22 Thread Weinan Li
Cheers, - Weinan On Nov 21, 2012, at 10:56 PM, Henrik Brautaset Aronsen hen...@synth.no wrote: Den 08.11.12 09:39, skrev Henrik Brautaset Aronsen: Den 07.11.12 17:10, skrev Weinan Li: B) I have an ExceptionMapper that works great for @Get requests. When an exception is thrown for a @Post

Re: [Resteasy-users] undeclaring some methods (of an interface) as being RESTful

2012-11-08 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, November 8, 2012 at 1:49 AM, Dominique de Vito wrote: Hi, My use case: I have had a **single** interface where was defined both: - my (annotated) REST methods - my EJB methods, which are exactly the same