resteasy Questions
5
Solved
JBoss7: loader constraint violation with ReastEasy and httpclient with custom HttpRequestInterceptor
I'm using the RestEasy Client Framework in a @Named @ViewScoped Bean with JBoss-7.1.1-Final to retrieve data from a REST service with a custom HttpRequestInterceptor:
RegisterBuiltin.register(Rest...
Precast asked 15/5, 2012 at 10:34
1
The custom provider uses code with the resteasy-client like this in keycloak 21:
UriBuilder url = UriBuilder.fromPath(baseURL);
ResteasyClient client = (ResteasyClient) ClientBuilder.newClient();
R...
11
Solved
I am developing RESTEasy Example. In this example I am using all latest dependencies and deploying om tomcat 8.x version. I can successfully deploy the application but when I am launching the url: ...
5
Solved
I've extracted a user's groups information from the OIDC endpoint of Keycloak, but they don't come with the group ATTRIBUTES I defined (see Attributes tab into the group form, near Settings). Is th...
Leveloff asked 29/5, 2019 at 13:50
2
Solved
I am using the Keycloak Admin Client library to attempt to create a user and then add a client role to that created user. I am creating the user with no problems, however when I am trying to assign...
3
Solved
I'm facing an issue, I can't get my form in my resources, the variables are always null
My Resource :
@POST
@Path("/upload-logo")
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Produces(Me...
Kunzite asked 7/11, 2020 at 17:11
2
Solved
(specifically RESTeasy)
It would be nice (for a single file) to have a method signature like:
public void upload(@FormParam("name") ..., @FormParam("file") file: InputStream)
...
doable? or ...
4
Solved
I have a RESTEasy web server with lot of methods. I want implement logback to track all requests and responses, but I don't want add log.info() to every methods.
Maybe there's way to catch reques...
1
I have been using Java's CompletableFuture like this
CompletableFuture.runAsync(() -> {//Some code here });
When I try to use a Resteasy Client inside this block of code I get a
javax.ws.r...
Bcd asked 14/4, 2015 at 16:57
14
Solved
I'm trying to POST a List of custom objects.
My JSON in request body is this:
{
"collection": [
{
"name": "Test order1",
"detail": "ahk ks"
},
{
"name": "Test order2",
"detail": "Fisteku"...
2
Solved
I am developing a Quarkus application and using RESTEasy Reactive. One of the endpoints receives a multipart/form-data mime type object but when I try to use it sometimes the "413 - Request En...
Toliver asked 6/8, 2022 at 23:24
6
Is it possible to list all exposed/available endpoints of RestEasy service in a simple way?
4
Solved
I have worked in Jersey and RESTEasy framework earlier and now we will be using Spring Rest for a new project , I don't want to pass all the query params and matrix params as parameters in the meth...
Flatways asked 9/1, 2016 at 5:40
4
Solved
Is it possible to make global exception handler for all unexpected errors.
Because it's impossible to make all possible classes like this:
public class ExceptionHandler implements ExceptionMapper&...
Condensation asked 13/12, 2012 at 10:17
8
Solved
I'm trying to test Keycloak REST API.
Instaled the version 2.1.0.Final.
I can access the admin through browser with SSL without problems.
I'm using the code above:
Keycloak keycloakClient = Keycl...
3
Solved
I have the following code:
var threadsWaiter = new CountDownLatch(customers.size());
for(var c: List<Customer> customers) {
sendSms(c.phoneNr, threadsWaiter)
}
threadsWaiter.await();
public...
1
In my Vue App I have this file input:
<input type="file" multiple @input="handleFileInput" />
The selected files are passed to my this upload method:
public async upload...
Albertype asked 18/11, 2021 at 19:17
2
Solved
POST operation to the REST service with JSON body returning
org.jboss.resteasy.spi.UnsupportedMediaTypeException
: Cannot consume content type exception
Both @Consumes(MediaType.APPLICATIO...
4
Solved
I have a few model classes that extend LinkedHashMap<String, Object>: they define getters and setters which wrap the Map's get and put methods. I am trying to serialize instances of these cla...
Keystroke asked 3/1, 2012 at 21:10
4
According to the documentation,
"Clients are heavy-weight objects that manage the client-side
communication infrastructure. Initialization as well as disposal of a
Client instance may be a ra...
Bachman asked 13/10, 2015 at 8:0
2
Solved
I checked the docs and stackoverflow but didn't find exactly a suiting approach.
E.g. this post seems very close: Dispatch a blocking service in a Reactive REST GET endpoint with Quarkus/Mutiny
How...
5
Solved
I am making a Web application using Backbone.js, Bootstrap, NetBeans IDE 8.0, Java EE 7, JDK 8, WildFly server 8.1.0, JBoss RESTEasy (resteasy-jaxrs-3.0.8), JBoss 2.2.22, JBoss EJB 3.
I am (relati...
6
We use Spring to implement REST controller, for example:
@Controller
@RequestMapping("/myservice")
public class MyController {
@RequestMapping(value = "foo", method = RequestMethod.GET)
public ...
Ventris asked 12/5, 2013 at 21:23
3
Solved
I'm migrating my application from wildfly 10 to wildfly 14 and I'm using resteasy 3.1.4 with jackson2.
I have a strange behaviour with the response of some rest services: not all the fields are ret...
Terminable asked 8/10, 2018 at 8:34
3
Solved
I can't seem to get JAX-RS clients to use a web proxy on Java 8. I'm using RESTEasy 3.0.10.Final, and running from inside Eclipse 4.4.2 on Windows 7 Professional 64-bit.
I set up a FreeProxy serve...
Parcae asked 14/3, 2015 at 0:45
1 Next >
© 2022 - 2024 — McMap. All rights reserved.