You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
(16) |
Apr
(18) |
May
(13) |
Jun
(100) |
Jul
(165) |
Aug
(53) |
Sep
(41) |
Oct
(84) |
Nov
(113) |
Dec
(171) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
(84) |
Feb
(30) |
Mar
(75) |
Apr
(113) |
May
(87) |
Jun
(96) |
Jul
(127) |
Aug
(106) |
Sep
(191) |
Oct
(142) |
Nov
(106) |
Dec
(83) |
| 2010 |
Jan
(62) |
Feb
(93) |
Mar
(92) |
Apr
(58) |
May
(52) |
Jun
(104) |
Jul
(109) |
Aug
(94) |
Sep
(75) |
Oct
(54) |
Nov
(65) |
Dec
(38) |
| 2011 |
Jan
(53) |
Feb
(84) |
Mar
(95) |
Apr
(24) |
May
(10) |
Jun
(49) |
Jul
(74) |
Aug
(23) |
Sep
(67) |
Oct
(21) |
Nov
(62) |
Dec
(50) |
| 2012 |
Jan
(26) |
Feb
(7) |
Mar
(9) |
Apr
(5) |
May
(13) |
Jun
(7) |
Jul
(18) |
Aug
(48) |
Sep
(58) |
Oct
(79) |
Nov
(19) |
Dec
(15) |
| 2013 |
Jan
(33) |
Feb
(21) |
Mar
(10) |
Apr
(22) |
May
(39) |
Jun
(31) |
Jul
(15) |
Aug
(6) |
Sep
(8) |
Oct
(1) |
Nov
(4) |
Dec
(3) |
| 2014 |
Jan
(17) |
Feb
(18) |
Mar
(15) |
Apr
(12) |
May
(11) |
Jun
(3) |
Jul
(10) |
Aug
(2) |
Sep
(3) |
Oct
(4) |
Nov
(4) |
Dec
(1) |
| 2015 |
Jan
|
Feb
(6) |
Mar
(5) |
Apr
(13) |
May
(2) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(6) |
Oct
(12) |
Nov
(12) |
Dec
(12) |
| 2016 |
Jan
(10) |
Feb
(3) |
Mar
(8) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|
From: Michael B. <mic...@gm...> - 2008-10-24 16:31:54
|
That would be nice.
How could a HeaderDelegate be "activated" for a parameter?
Michael
On Fri, Oct 24, 2008 at 6:19 PM, Bill Burke <bb...@re...> wrote:
> There's is HeaderDelegate in the specification. I could make sure that is
> used for all String parameters.
>
> Michael Brackx wrote:
>>
>> Hi,
>>
>> It would be nice to have some sort of custom parameter unmarshalling.
>> Currently parameter types can be String, primitive, or a class that
>> has a String constructor or static valueOf(String) method.
>> Some use cases:
>> - injecting interfaces
>> - injecting Enums (they already have a static valueOf(String) method)
>> - injecting thirdparty classes
>> - injecting factory created objects
>>
>> example:
>>
>> @GET
>> @Path("/book/{isbn}")
>> public String getBook(@PathParm(value = "isbn", provider =
>> ISBNFactory.class) ISBN id) {
>> ...
>> }
>>
>> @Provider
>> public class ISBNFactory {
>> @ProviderMethod
>> public ISBN create(String value) {
>> return new ISBNImpl(value);
>> }
>> }
>>
>> The @ProviderMethod could be left out if there is only one matching
>> method.
>> Or a new interface could be used, to be more in line with ExceptionMapper.
>>
>> I realize the spec is final, but someday the will be a 1.1 or 2.0 :)
>> Any comments?
>>
>> Michael Brackx
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Resteasy-developers mailing list
>> Res...@li...
>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
|
|
From: Bill B. <bb...@re...> - 2008-10-24 16:20:11
|
There's is HeaderDelegate in the specification. I could make sure that
is used for all String parameters.
Michael Brackx wrote:
> Hi,
>
> It would be nice to have some sort of custom parameter unmarshalling.
> Currently parameter types can be String, primitive, or a class that
> has a String constructor or static valueOf(String) method.
> Some use cases:
> - injecting interfaces
> - injecting Enums (they already have a static valueOf(String) method)
> - injecting thirdparty classes
> - injecting factory created objects
>
> example:
>
> @GET
> @Path("/book/{isbn}")
> public String getBook(@PathParm(value = "isbn", provider =
> ISBNFactory.class) ISBN id) {
> ...
> }
>
> @Provider
> public class ISBNFactory {
> @ProviderMethod
> public ISBN create(String value) {
> return new ISBNImpl(value);
> }
> }
>
> The @ProviderMethod could be left out if there is only one matching method.
> Or a new interface could be used, to be more in line with ExceptionMapper.
>
> I realize the spec is final, but someday the will be a 1.1 or 2.0 :)
> Any comments?
>
> Michael Brackx
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Resteasy-developers mailing list
> Res...@li...
> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|
|
From: Michael B. <mic...@gm...> - 2008-10-24 16:17:49
|
Hi,
It would be nice to have some sort of custom parameter unmarshalling.
Currently parameter types can be String, primitive, or a class that
has a String constructor or static valueOf(String) method.
Some use cases:
- injecting interfaces
- injecting Enums (they already have a static valueOf(String) method)
- injecting thirdparty classes
- injecting factory created objects
example:
@GET
@Path("/book/{isbn}")
public String getBook(@PathParm(value = "isbn", provider =
ISBNFactory.class) ISBN id) {
...
}
@Provider
public class ISBNFactory {
@ProviderMethod
public ISBN create(String value) {
return new ISBNImpl(value);
}
}
The @ProviderMethod could be left out if there is only one matching method.
Or a new interface could be used, to be more in line with ExceptionMapper.
I realize the spec is final, but someday the will be a 1.1 or 2.0 :)
Any comments?
Michael Brackx
|
|
From: Mike C. (mchack) <mc...@ci...> - 2008-10-24 16:03:04
|
I would think so. Currently what I do in my security filter is to
authenticate the user and then provide use custom servlet response
wrapper that overrdes isUserInRole(). This way works well with Resteasy
security.
I also created a thread local security context that allows me to access
additional information in my business logic. Could probably have also
extended ServletRequestWrapper to provide this additional information.
If there is a way for the user to provide a security interceptor to the
framework that would allow some of the same functionality bo be invoked
by the framework on behalf of the application then it could work.
Maybe you create ServletRequestWrapper that overrides is isUserInRole
and then just delegates to application provided security module.
What do you think?
Mike Chack
O: +1 408.526.4639
M: +1 408.504.6594
mc...@ci...
-----Original Message-----
From: Bill Burke [mailto:bb...@re...]
Sent: Friday, October 24, 2008 8:34 AM
To: Mike Chack (mchack)
Cc: res...@li...
Subject: Re: [Resteasy-developers] new multipart support
Speaking of security...
Anything Resteasy could do to make it easier?
Bill Burke wrote:
> The badness is that it screws up Resteasy.
>
> Like for instance www-urlencoded-form, if any filter does
> httpRequest.getParameter("someFormParam") it will screw up Resteasy as
> Resteasy expects to read form data within the InputStream.
>
> I fixed this in trunk, but a few people ran into this problem.
>
> Mike Chack (mchack) wrote:
>> I'll give it some thought. I alsways like to think that simple is
better
>> but it is hard to know when to draw the line relative to content
types.
>>
>> BTW., I had a slightly different problem that I was trying to solve.
I
>> am using a custom servlet filter to implement a security front end.
As
>> part of this I need the a sessionid as an input parameter. Usually
>> passed as a query string parameter. My client was a GWT application
that
>> was using a form widget to upload a file. The widget was not able to
>> submit mulipart form and still present query string parameters. So, I
>> had to access multipart form in the servlet filter. Not a great thing
I
>> found out as the input stream can't be reset.
>>
>> By product of this is that I used O'Reilly servlet package here to
>> access multipart as it has a Servlet Request Wrapper that parses the
>> multipart data and stores files if any in a temp dir, later
accessible
>> by the upstream servlet.
>>
>> Just another twist on the general problem. Any thoughts on this or
the
>> goodness/badness of having to access form data in a filter?
>>
>> Thanks
>>
>> Mike Chack
>> O: +1 408.526.4639
>> M: +1 408.504.6594
>> mc...@ci...
>>
>>
>> -----Original Message-----
>> From: Bill Burke [mailto:bb...@re...]
>> Sent: Thursday, October 23, 2008 2:02 PM
>> To: Mike Chack (mchack)
>> Cc: res...@li...
>> Subject: Re: [Resteasy-developers] new multipart support
>>
>> i.e. Content-Encoding: gzip
>>
>> or something like that...
>>
>> Bill Burke wrote:
>>> I may have some more work to do with it. I only support a simple
>>> encoding format. I'm not sure if more complex encoding formats are
>>> popular when using multipart.
>>>
>>> Thoughts?
>>>
>>> Mike Chack (mchack) wrote:
>>>> Thanks. That should be really helpful. A day too late. Spent a
bunch
>> of
>>>> time yesterday hacking a solution!!!!! I'll definitely refactor my
>>>> solution.
>>>>
>>>> Mike Chack
>>>> O: +1 408.526.4639
>>>> M: +1 408.504.6594
>>>> mc...@ci...
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Bill Burke [mailto:bb...@re...]
>>>> Sent: Thursday, October 23, 2008 1:45 PM
>>>> To: res...@li...
>>>> Subject: [Resteasy-developers] new multipart support
>>>>
>>>> I've spent this week doing some new multipart support:
>>>>
>>>>
>>
http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re
>>>> steasy/
>>>>
>>>> It is written up more extensively in the docbook module.
>>>>
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|
|
From: Bill B. <bb...@re...> - 2008-10-24 15:33:45
|
Speaking of security...
Anything Resteasy could do to make it easier?
Bill Burke wrote:
> The badness is that it screws up Resteasy.
>
> Like for instance www-urlencoded-form, if any filter does
> httpRequest.getParameter("someFormParam") it will screw up Resteasy as
> Resteasy expects to read form data within the InputStream.
>
> I fixed this in trunk, but a few people ran into this problem.
>
> Mike Chack (mchack) wrote:
>> I'll give it some thought. I alsways like to think that simple is better
>> but it is hard to know when to draw the line relative to content types.
>>
>> BTW., I had a slightly different problem that I was trying to solve. I
>> am using a custom servlet filter to implement a security front end. As
>> part of this I need the a sessionid as an input parameter. Usually
>> passed as a query string parameter. My client was a GWT application that
>> was using a form widget to upload a file. The widget was not able to
>> submit mulipart form and still present query string parameters. So, I
>> had to access multipart form in the servlet filter. Not a great thing I
>> found out as the input stream can't be reset.
>>
>> By product of this is that I used O'Reilly servlet package here to
>> access multipart as it has a Servlet Request Wrapper that parses the
>> multipart data and stores files if any in a temp dir, later accessible
>> by the upstream servlet.
>>
>> Just another twist on the general problem. Any thoughts on this or the
>> goodness/badness of having to access form data in a filter?
>>
>> Thanks
>>
>> Mike Chack
>> O: +1 408.526.4639
>> M: +1 408.504.6594
>> mc...@ci...
>>
>>
>> -----Original Message-----
>> From: Bill Burke [mailto:bb...@re...]
>> Sent: Thursday, October 23, 2008 2:02 PM
>> To: Mike Chack (mchack)
>> Cc: res...@li...
>> Subject: Re: [Resteasy-developers] new multipart support
>>
>> i.e. Content-Encoding: gzip
>>
>> or something like that...
>>
>> Bill Burke wrote:
>>> I may have some more work to do with it. I only support a simple
>>> encoding format. I'm not sure if more complex encoding formats are
>>> popular when using multipart.
>>>
>>> Thoughts?
>>>
>>> Mike Chack (mchack) wrote:
>>>> Thanks. That should be really helpful. A day too late. Spent a bunch
>> of
>>>> time yesterday hacking a solution!!!!! I'll definitely refactor my
>>>> solution.
>>>>
>>>> Mike Chack
>>>> O: +1 408.526.4639
>>>> M: +1 408.504.6594
>>>> mc...@ci...
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Bill Burke [mailto:bb...@re...]
>>>> Sent: Thursday, October 23, 2008 1:45 PM
>>>> To: res...@li...
>>>> Subject: [Resteasy-developers] new multipart support
>>>>
>>>> I've spent this week doing some new multipart support:
>>>>
>>>>
>> http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re
>>>> steasy/
>>>>
>>>> It is written up more extensively in the docbook module.
>>>>
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|
|
From: Bill B. <bb...@re...> - 2008-10-24 15:32:18
|
The badness is that it screws up Resteasy.
Like for instance www-urlencoded-form, if any filter does
httpRequest.getParameter("someFormParam") it will screw up Resteasy as
Resteasy expects to read form data within the InputStream.
I fixed this in trunk, but a few people ran into this problem.
Mike Chack (mchack) wrote:
> I'll give it some thought. I alsways like to think that simple is better
> but it is hard to know when to draw the line relative to content types.
>
> BTW., I had a slightly different problem that I was trying to solve. I
> am using a custom servlet filter to implement a security front end. As
> part of this I need the a sessionid as an input parameter. Usually
> passed as a query string parameter. My client was a GWT application that
> was using a form widget to upload a file. The widget was not able to
> submit mulipart form and still present query string parameters. So, I
> had to access multipart form in the servlet filter. Not a great thing I
> found out as the input stream can't be reset.
>
> By product of this is that I used O'Reilly servlet package here to
> access multipart as it has a Servlet Request Wrapper that parses the
> multipart data and stores files if any in a temp dir, later accessible
> by the upstream servlet.
>
> Just another twist on the general problem. Any thoughts on this or the
> goodness/badness of having to access form data in a filter?
>
> Thanks
>
> Mike Chack
> O: +1 408.526.4639
> M: +1 408.504.6594
> mc...@ci...
>
>
> -----Original Message-----
> From: Bill Burke [mailto:bb...@re...]
> Sent: Thursday, October 23, 2008 2:02 PM
> To: Mike Chack (mchack)
> Cc: res...@li...
> Subject: Re: [Resteasy-developers] new multipart support
>
> i.e. Content-Encoding: gzip
>
> or something like that...
>
> Bill Burke wrote:
>> I may have some more work to do with it. I only support a simple
>> encoding format. I'm not sure if more complex encoding formats are
>> popular when using multipart.
>>
>> Thoughts?
>>
>> Mike Chack (mchack) wrote:
>>> Thanks. That should be really helpful. A day too late. Spent a bunch
> of
>>> time yesterday hacking a solution!!!!! I'll definitely refactor my
>>> solution.
>>>
>>> Mike Chack
>>> O: +1 408.526.4639
>>> M: +1 408.504.6594
>>> mc...@ci...
>>>
>>>
>>> -----Original Message-----
>>> From: Bill Burke [mailto:bb...@re...]
>>> Sent: Thursday, October 23, 2008 1:45 PM
>>> To: res...@li...
>>> Subject: [Resteasy-developers] new multipart support
>>>
>>> I've spent this week doing some new multipart support:
>>>
>>>
> http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re
>>> steasy/
>>>
>>> It is written up more extensively in the docbook module.
>>>
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|
|
From: Mike C. (mchack) <mc...@ci...> - 2008-10-24 14:46:31
|
I'll give it some thought. I alsways like to think that simple is better but it is hard to know when to draw the line relative to content types. BTW., I had a slightly different problem that I was trying to solve. I am using a custom servlet filter to implement a security front end. As part of this I need the a sessionid as an input parameter. Usually passed as a query string parameter. My client was a GWT application that was using a form widget to upload a file. The widget was not able to submit mulipart form and still present query string parameters. So, I had to access multipart form in the servlet filter. Not a great thing I found out as the input stream can't be reset. By product of this is that I used O'Reilly servlet package here to access multipart as it has a Servlet Request Wrapper that parses the multipart data and stores files if any in a temp dir, later accessible by the upstream servlet. Just another twist on the general problem. Any thoughts on this or the goodness/badness of having to access form data in a filter? Thanks Mike Chack O: +1 408.526.4639 M: +1 408.504.6594 mc...@ci... -----Original Message----- From: Bill Burke [mailto:bb...@re...] Sent: Thursday, October 23, 2008 2:02 PM To: Mike Chack (mchack) Cc: res...@li... Subject: Re: [Resteasy-developers] new multipart support i.e. Content-Encoding: gzip or something like that... Bill Burke wrote: > I may have some more work to do with it. I only support a simple > encoding format. I'm not sure if more complex encoding formats are > popular when using multipart. > > Thoughts? > > Mike Chack (mchack) wrote: >> Thanks. That should be really helpful. A day too late. Spent a bunch of >> time yesterday hacking a solution!!!!! I'll definitely refactor my >> solution. >> >> Mike Chack >> O: +1 408.526.4639 >> M: +1 408.504.6594 >> mc...@ci... >> >> >> -----Original Message----- >> From: Bill Burke [mailto:bb...@re...] >> Sent: Thursday, October 23, 2008 1:45 PM >> To: res...@li... >> Subject: [Resteasy-developers] new multipart support >> >> I've spent this week doing some new multipart support: >> >> http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re >> steasy/ >> >> It is written up more extensively in the docbook module. >> > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Bill B. <bb...@re...> - 2008-10-24 13:16:22
|
I'll definitely will do one by then. Jue...@HS... wrote: > I'm not in a hurry. I'd appreciate to have a new release in the beginning of > Dec. > > -----Original Message----- > From: Bill Burke [mailto:bb...@re...] > Sent: Friday, October 24, 2008 2:28 PM > To: Jue...@HS... > Cc: res...@li... > Subject: Re: [Resteasy-developers] RC1: when? > > If you really need a release right now I can do one next week. Though, > I did want to get a few more features in before I have to begin the TCK > work. > > > Jue...@HS... wrote: >> Is there any estimation when RC1 will be available? >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge >> Build the coolest Linux based applications with Moblin SDK & win great > prizes >> Grand prize is a trip for two to an Open Source event anywhere in the > world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: <Jue...@HS...> - 2008-10-24 12:52:54
|
I'm not in a hurry. I'd appreciate to have a new release in the beginning of Dec. -----Original Message----- From: Bill Burke [mailto:bb...@re...] Sent: Friday, October 24, 2008 2:28 PM To: Jue...@HS... Cc: res...@li... Subject: Re: [Resteasy-developers] RC1: when? If you really need a release right now I can do one next week. Though, I did want to get a few more features in before I have to begin the TCK work. Jue...@HS... wrote: > Is there any estimation when RC1 will be available? > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Resteasy-developers mailing list Res...@li... https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
|
From: Bill B. <bb...@re...> - 2008-10-24 12:27:45
|
If you really need a release right now I can do one next week. Though, I did want to get a few more features in before I have to begin the TCK work. Jue...@HS... wrote: > Is there any estimation when RC1 will be available? > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: <Jue...@HS...> - 2008-10-24 03:45:37
|
Is there any estimation when RC1 will be available? |
|
From: Bill B. <bb...@re...> - 2008-10-23 21:02:19
|
i.e. Content-Encoding: gzip or something like that... Bill Burke wrote: > I may have some more work to do with it. I only support a simple > encoding format. I'm not sure if more complex encoding formats are > popular when using multipart. > > Thoughts? > > Mike Chack (mchack) wrote: >> Thanks. That should be really helpful. A day too late. Spent a bunch of >> time yesterday hacking a solution!!!!! I'll definitely refactor my >> solution. >> >> Mike Chack >> O: +1 408.526.4639 >> M: +1 408.504.6594 >> mc...@ci... >> >> >> -----Original Message----- >> From: Bill Burke [mailto:bb...@re...] >> Sent: Thursday, October 23, 2008 1:45 PM >> To: res...@li... >> Subject: [Resteasy-developers] new multipart support >> >> I've spent this week doing some new multipart support: >> >> http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re >> steasy/ >> >> It is written up more extensively in the docbook module. >> > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Bill B. <bb...@re...> - 2008-10-23 20:59:38
|
Pretty much as I described in my blog here: http://bill.burkecentral.com/2008/10/09/jax-rs-asynch-http/ Support was added for Tomcat 6/JBoss 4.2.x, Servlet 3.0 (Jetty 7.0pre3), and AS 5.0.0.CR2 (JBoss Web 2.1.1). If you want to take a look look in trunk within the async* modules. Each has a test directory that should an example of using it. The docbook module has this written up more extensively. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Bill B. <bb...@re...> - 2008-10-23 20:53:22
|
I may have some more work to do with it. I only support a simple encoding format. I'm not sure if more complex encoding formats are popular when using multipart. Thoughts? Mike Chack (mchack) wrote: > Thanks. That should be really helpful. A day too late. Spent a bunch of > time yesterday hacking a solution!!!!! I'll definitely refactor my > solution. > > Mike Chack > O: +1 408.526.4639 > M: +1 408.504.6594 > mc...@ci... > > > -----Original Message----- > From: Bill Burke [mailto:bb...@re...] > Sent: Thursday, October 23, 2008 1:45 PM > To: res...@li... > Subject: [Resteasy-developers] new multipart support > > I've spent this week doing some new multipart support: > > http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re > steasy/ > > It is written up more extensively in the docbook module. > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Mike C. (mchack) <mc...@ci...> - 2008-10-23 20:49:37
|
Thanks. That should be really helpful. A day too late. Spent a bunch of time yesterday hacking a solution!!!!! I'll definitely refactor my solution. Mike Chack O: +1 408.526.4639 M: +1 408.504.6594 mc...@ci... -----Original Message----- From: Bill Burke [mailto:bb...@re...] Sent: Thursday, October 23, 2008 1:45 PM To: res...@li... Subject: [Resteasy-developers] new multipart support I've spent this week doing some new multipart support: http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-re steasy/ It is written up more extensively in the docbook module. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Resteasy-developers mailing list Res...@li... https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
|
From: Bill B. <bb...@re...> - 2008-10-23 20:45:30
|
I've spent this week doing some new multipart support: http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-resteasy/ It is written up more extensively in the docbook module. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Michael B. <mic...@gm...> - 2008-10-23 16:24:48
|
Hi, The example in chapter 18 should be return Response.status(500).build(); iso return Response.status(500); link: http://www.jboss.org/file-access/default/members/resteasy/freezone/docs/1.0-beta-7/userguide/html/ExceptionMappers.html Michael Brackx |
|
From: Gennady S. <gsh...@gm...> - 2008-10-23 08:13:02
|
Hi,
I wonder whether it is possible to identify the @QueryParam existence
regardless of the parameter value.
I mean suppose I want to have service uri to be http://.../myService?doTest
where 'doTest' is optional.
Annotating the method with @Param("doTest") will inject the default
parameter value if parameter is passed or not, but is there a way to
differentiate between the cases?
Thanks,
Gennady
|
|
From: Pierre M. <mon...@ge...> - 2008-10-22 21:23:32
|
Hi there, First Thanks for this nice implemetation. I think my question is related to being able to add Interceptors. http://sourceforge.net/mailarchive/message.php?msg_id=55c60e370810061214s39ab122fsa4141c134563d3cb%40mail.gmail.com I would like to force the output of my service based on a Url parameter (rather than Accept http headers) Say GET myservice/foo?_output=xml or myservice/foo?_output=json I thought beeing able to add an interceptor that lets me set the type that should be produced would be nice. Do you guys have any thoughts on this? Is there currently any easy way to do this? Thanks, Pierre |
|
From: Bill B. <bb...@re...> - 2008-10-20 22:55:50
|
Hey, Since the upgrade to jboss.org's wiki, my wiki2docbook code is not working anymore. So, I will be removing all documentation from the wiki and creating a docbook module within SVN. If you create any new documentation, just link it on the main WIKI page (and I will add it to docbook later), or, if you are feeling super nice, add it to the docbook module. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Bill B. <bb...@re...> - 2008-10-17 19:54:27
|
Solomon Duskis wrote: > I have my first shot at the RESTEasy - Spring MVC integration working. > My basic test was to do: Great work! Thanks! > I got #1 and #2 to work, but not #3. That seems to be a RESTEasy > limitation... it seems like the segments are cached in; I'll raise a > JIRA bug and try to fix it. Other than that bug, the integration went > well enough for a first shot. > Yeah, submit the bug and let's get this fixed. > If you have some time, can you please review the code I attached? I > copied a whole bunch of code from Dispatcher and put it in > RESTEasyHandlerAdapter; Dispatcher can theoretically be refactored to > reduce the size my code dramatically. There were also a couple of > potential changes to the core code that may be useful as well... I > sprinkled those thoughts in my code. > > Any feedback would be greatly appreciated. > I can provide feedback about the integration, but I don't know enough about Spring MVC to know whether this is a good thing or not (I suspect its good). Maybe blog about it? I'll aggregate you in my blog and jboss's to get enough traffic and hopefully feedback. > I'll be working on changing the Spring/Hibernate RESTEasy example, so > that you can see the full integration. I did test it, and it does work, > but I can't show you the integration quite yet. > I'd rather have a separate example. Do you want SVN access? If you do, please create a separate module for this work when you want to commit. Just send me your sourceforge.net username in a private email. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Bill B. <bb...@re...> - 2008-10-16 20:29:47
|
We can add that. Create a jira. Mike Chack (mchack) wrote: > I have an application that can either accept JSON or XML MediaTypes. As > part of the custom exception handling I am generating formatted > responses that should correspond to the MediaType of the original > request. Not sure that is available anywhere. > > > > If it is I can’t find a way to access it. If not, should it be part of > the framework or should I just store it as a ThreadLocal var? > > > > Thanks > > > > *Mike Chack* > *O: +1 408.526.4639* > *M: +1 408.504.6594* > *mc...@ci...* > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Mike C. (mchack) <mc...@ci...> - 2008-10-16 20:14:45
|
I have an application that can either accept JSON or XML MediaTypes. As part of the custom exception handling I am generating formatted responses that should correspond to the MediaType of the original request. Not sure that is available anywhere. If it is I can't find a way to access it. If not, should it be part of the framework or should I just store it as a ThreadLocal var? Thanks Mike Chack O: +1 408.526.4639 M: +1 408.504.6594 mc...@ci... |
|
From: And F. <and...@ya...> - 2008-10-14 13:51:31
|
Hi,
I am running in to an issue accessing the request parameters from the POST method
implementation. From with in the service, I am unable to access the parameters set by the
client. I am using the Resteasy 1.0 beta 8. I am not using any servlet filters.
Thanks
--------------------
//
// Server
//
@Post
@Produces("text/xml")
public String doSomething(@Context HttpServletRequest req) {
String query = req.getParameter("Query");
System.out.println("query = " + query); // always null
return "<Query>" + query + </Query>;
}
//
// Client using Apache HttpClient libraries
//
PostMethod method = new PostMethod("url");
method.addParameter("Query", "123");
:
HttpClient httpClient = new HttpClient();
int ret = httpClient.executeMethod(method);
//
// web.xml (simple and no servlet filters in place)
//
------------------
|
|
From: Bill B. <bb...@re...> - 2008-10-13 20:19:14
|
Personally I"m sick and tired of Spring ignoring standardization efforts, in this case JAX-RS. As recent events showed, open source alone can't isolate you from vendor lockin. I'm excited about your work! Solomon Duskis wrote: > I'm definitely willing to do the work... I've started on it already. > I'm hoping to get the first cut of it later this week, time permitting. > The Spring guys are working on Spring 3.0 which will include a REST > implementation on top of their existing annotation infrastructure. The > Spring community is eagerly waiting Spring 3.0, but the SpringSource > guys keep on moving back their ETA. > > A timely RESTful Spring MVC integration from JBoss will definitely turn > some heads ;) > > -Solomon > > On Mon, Oct 13, 2008 at 2:50 PM, Bill Burke <bb...@re... > <mailto:bb...@re...>> wrote: > > > > Solomon Duskis wrote: > > I hope that there's enough here to convince you that it's a good > idea to explore the possibilities of integration JAX-RS with > Spring MVC. I'm going to send a follow up that describes what I > think needs to be done in order to accomplish this integration. > > > I'm convinced. I just need somebody to do the work... (hint hint). > > > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |