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: Geyer, R. <Ran...@in...> - 2014-01-14 00:24:40
|
import javax.servlet.FilterRegistration;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletRegistration.Dynamic;
import org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher;
import org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.WebApplicationInitializer;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
import org.springframework.web.filter.DelegatingFilterProxy;
import org.springframework.web.servlet.DispatcherServlet;
/**
* WebApplicationInitializer that configures the ServletContext programmatically for
* RestEasy support.
*
* @see WebApplicationInitializer
*
* @author rgeyer
* @version $Author: rgeyer $ $DateTime: 2014/01/10 17:50:52 $ $Revision: #2 $
*/
public class RestEasyApplicationInitializer implements WebApplicationInitializer {
private static final Logger logger = LoggerFactory.getLogger(RestEasyApplicationInitializer.class);
@Override
public void onStartup(ServletContext container) throws ServletException {
logger.info("onStartup()");
// RestEasy listener
container.setInitParameter("resteasy.document.expand.entity.references", "false");
container.setInitParameter("resteasy.logger.type", "SLF4J");
//container.setInitParameter("javax.ws.rs.Application", null);
container.addListener(new ResteasyBootstrap());
// Spring root application context with RestEasy support
final AnnotationConfigWebApplicationContext rootContext = new AnnotationConfigWebApplicationContext();
container.addListener(new RestEasyContextLoaderListener(rootContext));
rootContext.register(AppConfig.class);
// Spring Dispatcher servlet
final DispatcherServlet springServlet = new DispatcherServlet(webContext);
final Dynamic publicDispatcher = container.addServlet("springDispatcher", springServlet);
publicDispatcher.setLoadOnStartup(1);
publicDispatcher.addMapping("/");
// RestEasy Dispatcher servlet
final HttpServletDispatcher restServlet = new HttpServletDispatcher();
final Dynamic restDispatcher = container.addServlet("restEasyDispatcher", restServlet);
restDispatcher.addMapping("/sync/*");
}
} |
|
From: Josiah H. <jos...@gm...> - 2014-01-13 22:34:03
|
Yeah. I have not been able to get Resteasy 3 working with Spring 4. When I bump down to Spring 3.2.6, everything works perfectly. I haven't really done that much investigation, but I don't see any exceptions or log messages. The only symptom is that the Resteasy services don't seem to be getting identified; when you visit the URL of the resource, nothing gets returned. Lemme slap together a sample project that demonstrates the behavior. Josiah On Mon, Jan 13, 2014 at 3:20 PM, Bill Burke <bb...@re...> wrote: > Integration APIs have changed for Spring 4? Are you sure it doesn't work? > > On 1/13/2014 3:20 PM, Josiah Haswell wrote: > > Hi folks, > > > > I've noticed Resteasy 3.0.6 doesn't work with Spring 4, and was > > wondering if there was an approximate time-frame for supporting Spring > > 4. I couldn't find any associated issues in Resteasy's JIRA. > > > > Thanks! > > > > Josiah > > > > > > > ------------------------------------------------------------------------------ > > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > > Learn Why More Businesses Are Choosing CenturyLink Cloud For > > Critical Workloads, Development Environments & Everything In Between. > > Get a Quote or Start a Free Trial Today. > > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > 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 > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > |
|
From: Bill B. <bb...@re...> - 2014-01-13 22:20:47
|
Integration APIs have changed for Spring 4? Are you sure it doesn't work? On 1/13/2014 3:20 PM, Josiah Haswell wrote: > Hi folks, > > I've noticed Resteasy 3.0.6 doesn't work with Spring 4, and was > wondering if there was an approximate time-frame for supporting Spring > 4. I couldn't find any associated issues in Resteasy's JIRA. > > Thanks! > > Josiah > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > > _______________________________________________ > 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: Josiah H. <jos...@gm...> - 2014-01-13 20:20:26
|
Hi folks, I've noticed Resteasy 3.0.6 doesn't work with Spring 4, and was wondering if there was an approximate time-frame for supporting Spring 4. I couldn't find any associated issues in Resteasy's JIRA. Thanks! Josiah |
|
From: Xavier C. <xc...@re...> - 2014-01-07 15:22:40
|
Dinaku, IIRC, you have to specify extra libs you want to use with Ant when running from your Eclipse IDE, so maybe you fell into the same problem here if you also use Eclipse (or another IDE) ? Anyway, I'm glad I could help you on this issue ;-) Best regards, /Xavier On Jan 7, 2014, at 4:00 PM, Dinuka Arseculeratne wrote: > Hi Xavier, > > Setting the ant-contrib lib in the CLASSPATH variable did the trick. I did copy this to the ant installation's lib directory, but that did not work. Thank you again for the help. Appreciate it. > > Regards, > Dinuka > > > On Tue, Jan 7, 2014 at 8:08 PM, Xavier Coulon <xc...@re...> wrote: > Hello, > > The message below indicates that antlib is not in your classpath. You should try to copy ant-contrib-version.jar to the lib directory of your Ant installation, or on your CLASSPATH environment variable. > > HTH. > Best regards, > Xavier > > > > On Jan 5, 2014, at 3:06 PM, Dinuka Arseculeratne wrote: > >> Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. >> > > |
|
From: Dinuka A. <din...@gm...> - 2014-01-07 15:00:32
|
Hi Xavier, Setting the ant-contrib lib in the CLASSPATH variable did the trick. I did copy this to the ant installation's lib directory, but that did not work. Thank you again for the help. Appreciate it. Regards, Dinuka On Tue, Jan 7, 2014 at 8:08 PM, Xavier Coulon <xc...@re...> wrote: > Hello, > > The message below indicates that antlib is not in your classpath. You > should try to copy ant-contrib-version.jar to the lib directory of your > Ant installation, or on your CLASSPATH environment variable. > > HTH. > Best regards, > Xavier > > > > On Jan 5, 2014, at 3:06 PM, Dinuka Arseculeratne wrote: > > Could not load definitions from resource net/sf/antcontrib/antlib.xml. It > could not be found. > > > |
|
From: Xavier C. <xc...@re...> - 2014-01-07 14:38:56
|
Hello, The message below indicates that antlib is not in your classpath. You should try to copy ant-contrib-version.jar to the lib directory of your Ant installation, or on your CLASSPATH environment variable. HTH. Best regards, Xavier On Jan 5, 2014, at 3:06 PM, Dinuka Arseculeratne wrote: > Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. > |
|
From: Dinuka A. <din...@gm...> - 2014-01-05 14:06:54
|
Hi All,
I am getting the following ant error when building the JBoss Modules. Can
someone please help me out here?
My ant version is 1.9.3
[INFO] Building Resteasy JBoss Modules
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\target
2014-01-05 19:31:43.315:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver
purged
2014-01-05 19:31:43.315:INFO:oejsh.ContextHandler:stopped
o.m.j.p.JettyWebAppContext{/,file:/D:/rnd_work/jboss/resteasy/Resteasy/jaxrs/examples/jaxrs-2.0/server-async-http/src/main/webapp/}
nd_work/jboss/resteasy/Resteasy/jaxrs/examples/jaxrs-2.0/server-async-http/src/main/webapp/
[INFO] [antrun:run {execution: build-dist-as7}]
[INFO] Executing tasks
main:
[taskdef] Could not load definitions from resource
net/sf/antcontrib/antlib.xml. It could not be found.
all:
[copy] Copying 1 file to
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\src\main\resources\modules\org\jboss\resteasy\resteasy-jaxrs
[taskdef] Could not load definitions from resource
net/sf/antcontrib/antlib.xml. It could not be found.
modules:
[echo] Initializing module -> org.bouncycastle
[mkdir] Created dir:
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\target\mavenized\modules\org\bouncycastle\main
[copy] Copying 1 file to
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\target\mavenized\modules\org\bouncycastle\main
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred
while executing this line:
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\build.xml:34: The
following error occurred while executing this line:
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\build.xml:55: The
following error occurred while executing this line:
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\build.xml:56: The
following error occurred while executing this line:
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\lib.xml:169:
Problem: failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
around Ant part ...<ant antfile="build.xml" inheritRefs="true">... @ 4:47
in
D:\rnd_work\jboss\resteasy\Resteasy\jaxrs\jboss-modules\target\antrun\build-main.xml
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 57 seconds
[INFO] Finished at: Sun Jan 05 19:31:44 IST 2014
[INFO] Final Memory: 267M/494M
[INFO]
------------------------------------------------------------------------
|
|
From: Weinan Li <we...@re...> - 2014-01-05 03:27:33
|
Hi Dinuka, This is a bug fixed in JDK 7[1]. Here is the java version I’ve used for compiling RESTEasy: $ java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) [1] http://bugs.sun.com/view_bug.do?bug_id=6302954 -- Weinan Li On Sunday, January 5, 2014 at 9:51 AM, Dinuka Arseculeratne wrote: > > > > Hi All, > > I just downloaded the source from GitHub and did a mvn clean install. But i get the following compilation error when the resteasy-client module is being built. I would appreciate it if you can help me out here. I am building with JDK 1.6. > > > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Compilation failure > /D:/rnd_work/jboss/resteasy/Resteasy/jaxrs/resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/ClientInvocation.java:[154,34] D:\rnd_work\jboss\resteas > nt\src\main\java\org\jboss\resteasy\client\jaxrs\internal\ClientInvocation.java:154: type parameters of <T>T cannot be determined; no unique maximal instance exists for t > ds T,java.lang.Object > > > > > Regards, > > Dinuka Arseculeratne > > Blog : http://dinukaroshan.blogspot.com > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... (mailto:Res...@li...) > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
|
From: Dinuka A. <din...@gm...> - 2014-01-05 01:52:02
|
Hi All, I just downloaded the source from GitHub and did a mvn clean install. But i get the following compilation error when the resteasy-client module is being built. I would appreciate it if you can help me out here. I am building with JDK 1.6. [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /D:/rnd_work/jboss/resteasy/Resteasy/jaxrs/resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/ClientInvocation.java:[154,34] D:\rnd_work\jboss\resteas nt\src\main\java\org\jboss\resteasy\client\jaxrs\internal\ClientInvocation.java:154: type parameters of <T>T cannot be determined; no unique maximal instance exists for t ds T,java.lang.Object Regards, Dinuka Arseculeratne Blog : http://dinukaroshan.blogspot.com |
|
From: Bill B. <bb...@re...> - 2013-12-12 00:45:54
|
Resteasy 3.0.6.Final has been released today. This is a maintenance release. Netty 4 JAX-RS 2.0 Async APIs actually work now! As usual, check out http://jboss.org/resteasy for how to download the distro and view documentation. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Ori L. <ol...@re...> - 2013-12-09 14:02:53
|
Thanks! It does work :) ----- Original Message ----- From: "Bill Burke" <bb...@re...> To: res...@li... Sent: Monday, November 25, 2013 4:37:34 PM Subject: Re: [Resteasy-developers] RestEasy - How to intercept deserialization failure? Exception mapper should work. On 11/25/2013 4:44 AM, Ori Liel wrote: > Currently, failure of a POST or PUT request due to a desearilization problem results in 400 response code along with the unmarshalling exception in the response body, for example: "HTTP Status 400 - javax.xml.bind.UnmarshalException..." This behavior is the same for all content types (XML, json, yaml). > > I would like to be able to intercept the deserialization failure and add extra information to the error message. This information will be retrieved from a meta-data file which describes our API capabilities. I have not been able to find a suitable RestEasy or Jboss interception point, or some way to extend a RestEasy class, that would help me achieve this. I'd appreciate some advice on this issue. > > Thanks, > > Ori. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-developers mailing list Res...@li... https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
|
From: Badoo <nor...@ba...> - 2013-12-03 03:58:18
|
Emiliano left a message for you Its sender and content will be shown only to you and you can delete it at any time. You can instantly reply to it, using the message exchange system. To find out what was written to you, just follow this link: http://us1.badoo.com/01242923387/in/68vXYc7mwt8/?lang_id=106&g=57-0-4&m=21&mid=529d56d000000000006a000002adc3d000b8e3080117 If clicking the links in this message does not work, copy and paste them into the address bar of your browser. This email is a part of delivering a message sent by Emiliano on the system. If you received this email by mistake, please just ignore it. After a short time the message will be removed from the system. Have fun! The Badoo Team You have received this email from Badoo Trading Limited (postal address below). If you do not wish to receive further email communications from Badoo click here to opt out: https://us1.badoo.com/impersonation.phtml?lang_id=106&email=resteasy-developers%40lists.sourceforge.net&block_code=fa37e7&m=21&mid=529d56d000000000006a000002adc3d000b8e3080117&g=0-0-4. Badoo Trading Limited is a limited company registered in England and Wales under CRN 7540255 with its registered office at Media Village, 131 - 151 Great Titchfield Street, London, W1W 5BB. |
|
From: Bill B. <bb...@re...> - 2013-11-25 14:37:42
|
Exception mapper should work. On 11/25/2013 4:44 AM, Ori Liel wrote: > Currently, failure of a POST or PUT request due to a desearilization problem results in 400 response code along with the unmarshalling exception in the response body, for example: "HTTP Status 400 - javax.xml.bind.UnmarshalException..." This behavior is the same for all content types (XML, json, yaml). > > I would like to be able to intercept the deserialization failure and add extra information to the error message. This information will be retrieved from a meta-data file which describes our API capabilities. I have not been able to find a suitable RestEasy or Jboss interception point, or some way to extend a RestEasy class, that would help me achieve this. I'd appreciate some advice on this issue. > > Thanks, > > Ori. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > 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: Ori L. <ol...@re...> - 2013-11-25 09:44:25
|
Currently, failure of a POST or PUT request due to a desearilization problem results in 400 response code along with the unmarshalling exception in the response body, for example: "HTTP Status 400 - javax.xml.bind.UnmarshalException..." This behavior is the same for all content types (XML, json, yaml). I would like to be able to intercept the deserialization failure and add extra information to the error message. This information will be retrieved from a meta-data file which describes our API capabilities. I have not been able to find a suitable RestEasy or Jboss interception point, or some way to extend a RestEasy class, that would help me achieve this. I'd appreciate some advice on this issue. Thanks, Ori. |
|
From: Bill B. <bb...@re...> - 2013-11-12 15:43:39
|
http://bill.burkecentral.com/2013/11/12/my-new-book-restful-java-with-jax-rs-2-0/ -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Raphael S. <rap...@gm...> - 2013-11-05 13:41:10
|
Hi!
I am trying to use ResteasyClient to call a multipart rest service.
This is the class defining my form.
public class FileUploadForm {
public FileUploadForm() {
}
private byte[] data;
public byte[] getData() {
return data;
}
@FormParam("uploadedFile")
@PartType("application/octet-stream")
public void setData(final byte[] data) {
this.data = data;
}
}
The service is defined as following:
@POST
@Consumes("multipart/form-data")
public Response uploadFile(@MultipartForm final FileUploadForm form) {
...
}
I created an interface to use with ResteasyClient:
@POST
@Consumes("multipart/form-data")
public Response uploadFile(final FileUploadForm form);
I'm invoking the service like this:
ResteasyClient client = new ResteasyClientBuilder().build();
ResteasyWebTarget target = client.target(url);
this.proxy = target.proxy(ProcessoResourceInterface.class);
this.proxy.uploadFile(new FileUploadForm());
I'm getting the following error:
javax.ws.rs.ProcessingException: could not find writer for content-type
multipart/form-data type: br.com.conam.workflow.rest.FileUploadForm
I'm using the following versions:
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>3.0.4.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>2.3.6.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
<version>2.3.6.Final</version>
</dependency>
Am I missing something?
Thanks in advance for the help!
|
|
From: Bill B. <bb...@re...> - 2013-10-23 00:54:43
|
Two PRs from two different contributors broke the build. Please do a full build before you commit! Each person who has broken the build owes me 1 beer per minute I wasted cleaning up after your mess...sloppy, sloppy... I know we should have an integrated GIT/Jenkins CI build, but I just don't have time to set it up or maintain it. Besides, its more fun to bully people into buying me beers. Bill -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Kristof J. <kri...@gm...> - 2013-09-19 15:15:37
|
Hi there,
I'm building a rest client with RESTEasy v3.0.2 but could not find a way of
getting it to follow up on http302 redirects sent by the remote side.
What I tried is something like:
PoolingClientConnectionManager connectionManager = new
PoolingClientConnectionManager();
HttpParams httpClientParams = new BasicHttpParams();
DefaultHttpClient httpClient = new
DefaultHttpClient(connectionManager, httpClientParams);
HttpURLConnection.setFollowRedirects(true); // (1)
httpClient.setRedirectStrategy(new DefaultRedirectStrategy() { //
(2)
@Override
protected boolean isRedirectable(String method) {
return true;
}
});
ApacheHttpClient4Engine engine = new
ApacheHttpClient4Engine(httpClient);
ResteasyClient resteasyClient = new
ResteasyClientBuilder().httpEngine(engine).build();
ResteasyWebTarget rtarget = resteasyClient.target("http://myurl...");
MyClient client = (MyClient) rtarget.proxy(clientClass);
client.someService(...);
but neither approach worked, both throw a RedirectException. How can I
configure RESTEasy to just follow the redirect and fetch the results from
there?
thanks a lot,
Kristof
|
|
From: Bernard Ł. <s4...@pj...> - 2013-09-19 05:34:34
|
I'm sure. As this is extra odd situation, I've repeated test for 2 days in a row. You can do the same quickly. Just click the link I've posted previously, decompile the class and compare it's sources against tag 304 in github. 19 wrz 2013 02:01, "Bill Burke" <bb...@re...> napisał(a): > Are you sure? I've never had this happen before. > > On 9/18/2013 6:08 AM, Bernard Łabno wrote: > > Hi, > > > > I've downloaded > > > https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.resteasy&a=resteasy-hibernatevalidator-provider&v=3.0.4.Final&e=jar > > Then I've decompiled GeneralValidatorImpl and the sources are totally > > different then those from 3.0.4 tag on github. > > I found this out when I've hit > https://issues.jboss.org/browse/RESTEASY-913. > > > > > > > ------------------------------------------------------------------------------ > > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > > > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > 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 > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > |
|
From: Bill B. <bb...@re...> - 2013-09-19 00:00:58
|
Are you sure? I've never had this happen before. On 9/18/2013 6:08 AM, Bernard Łabno wrote: > Hi, > > I've downloaded > https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.resteasy&a=resteasy-hibernatevalidator-provider&v=3.0.4.Final&e=jar > Then I've decompiled GeneralValidatorImpl and the sources are totally > different then those from 3.0.4 tag on github. > I found this out when I've hit https://issues.jboss.org/browse/RESTEASY-913. > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > > > > _______________________________________________ > 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: Bernard Ł. <s4...@pj...> - 2013-09-18 10:31:32
|
Hi, I've downloaded https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.jboss.resteasy&a=resteasy-hibernatevalidator-provider&v=3.0.4.Final&e=jar Then I've decompiled GeneralValidatorImpl and the sources are totally different then those from 3.0.4 tag on github. I found this out when I've hit https://issues.jboss.org/browse/RESTEASY-913. |
|
From: Geyer, R. <Ran...@in...> - 2013-09-16 17:49:47
|
Hi all, I have an interesting ClientExecutionInterceptor use case that I've been trying to solve. I need to inject a session cookie from a cache into outgoing requests, that are sniffed from incoming responses and cached. The session cookie cache key is a combination of the user's credentials and the destination host. I retrieve the user's credentials from the container's security context, but I've been unable to find a reliable mechanism for determining the destination host in the ClientExecutionInterceptor. The ClientRequest host header has not been set when ClientExecutionInterceptor.execute() is called, so that doesn't work. I may have to fall back to an HttpClient HttpProcessor if I cannot solve this via RestEasy, but would prefer not to as that's a little too low level for my taste. Any ideas? Thanks - rg |
|
From: Bill B. <bb...@re...> - 2013-09-06 13:53:45
|
I don't know what Spring has done as far as using the ServletContainerInitializer and honestly I just don't have the cycles to look into it now. Either the community has to look into it and give a more integrated solution than Resteasy2 + Spring2, or you're just stuck with that model for now. On 9/6/2013 1:25 AM, Geyer, Randy wrote: > Hi all, > > I'm very familiar with RestEasy 2 + Spring 2 integration using the > servlet context loader listeners. So what is the best practice for > RestEasy 3 + Spring 3 + Servlet 3.0? How do you use Spring DI along > with the servlet 3.0 resteasy-servlet-initializer? Does the Spring > servlet initializer work and play well with the resteasy initializer? > Any configuration needed? Couldn't find anything in the RestEasy docs > on Spring integration with Servlet 3.0. I did find the "old" > integration method in Chapter 43 that doesn't take advantage of servlet > 3.0 configuration. > > If they don't directly integrate using servlet 3.0, it would be great if > they would in the future. We're trying to rid ourselves of xml config > files including web.xml, but rely on Spring for DI. A Spring context > aware RestEasy bootstrapper that can be declared as Spring bean might do > the trick. Is that feasible? > > Thanks - rg > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > > > > _______________________________________________ > 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: Geyer, R. <Ran...@in...> - 2013-09-06 05:25:49
|
Hi all, I'm very familiar with RestEasy 2 + Spring 2 integration using the servlet context loader listeners. So what is the best practice for RestEasy 3 + Spring 3 + Servlet 3.0? How do you use Spring DI along with the servlet 3.0 resteasy-servlet-initializer? Does the Spring servlet initializer work and play well with the resteasy initializer? Any configuration needed? Couldn't find anything in the RestEasy docs on Spring integration with Servlet 3.0. I did find the "old" integration method in Chapter 43 that doesn't take advantage of servlet 3.0 configuration. If they don't directly integrate using servlet 3.0, it would be great if they would in the future. We're trying to rid ourselves of xml config files including web.xml, but rely on Spring for DI. A Spring context aware RestEasy bootstrapper that can be declared as Spring bean might do the trick. Is that feasible? Thanks - rg |