resteasy
How to create a MessageBodyWriter to return a custom object as HTML in RestEasy?
I\'m using RestEasy together with Spring in Tomcat. I have a simple controller method which I want to use via Ajax (with JSON or XML response) and via a standard browser request (Using HTML as a respo[详细]
2023-04-05 11:51 分类:问答RestEasy ExceptionMapper not catching the exceptions
I\'m throwing an exception MyCustomException from my application. (EJB Layer) I\'ve an exception mapper in web service layer which looks like following -[详细]
2023-04-04 16:14 分类:问答In what circumstance should I redirect the client to a more accurate URI
We have a RESTFul webservice that returns a list of persons. /person/list However, the business wants to return only \"active\" persons. i.e. persons created after 开发者_如何学Go2009.[详细]
2023-04-04 01:50 分类:问答Disable anpersand escaping in RestEasy XML response
I have a simple restful service that开发者_StackOverflow社区 transforms a JAXB-anntotated beans to response XML using RestEasy.[详细]
2023-04-01 23:14 分类:问答Propagating ThreadLocal to a new Thread fetched from a ExecutorService
I\'m running a process in a separate thread with a timeout, using an ExecutorService and a Future (example code here) (the thread \"spawning\" takes place in a AOP Aspect).[详细]
2023-04-01 18:43 分类:问答I am implementing partial updates over POST since I cannot use PATCH. Can I do it conditionally?
So the business requires us to implement Partial Updates. HTTP PUT only caters to the case where the client sends across a complete representation of the resource.[详细]
2023-04-01 18:03 分类:问答How to invalidate 'other' URIs in case of a PUT request?
A resource can be identified by multiple URIs. e.g. /person/1234 /person/list?fname=John /person/list?lname=Doe[详细]
2023-03-31 04:12 分类:问答NoMessageBodyWriterFoundFailure at sending ByteArrayOutputStream through REST service
I have to send a ByteArrayOutputStream through a rest service, and I got this exception: org.jboss.resteasy.client.ClientResponseFailure: Unable to find a MessageBodyReader of content-type text/html[详细]
2023-03-31 04:05 分类:问答UnrecognizedPropertyException: Unrecognized field "start" (Class org.jboss.resteasy.spi.ResteasyProviderFactory), not marked as ignorable
(We could do with a jboss7.x tag now). Does anyone know what might cause the error below? start is a field within a JSON object I\'m trying to send to my resteasy Application.[详细]
2023-03-30 04:00 分类:问答List like param in Resteasy Service
Good mournig guys! How to send a List like param to a Resteasy service? When I\'ll execute throws the exception follow:[详细]
2023-03-30 01:41 分类:问答