Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I am using a library on my Spring Boot application and this library is exposing a WebSocket endpoint for the clients to communicate. In my use case, I want to enrich the data this library is sending on the WebSocket. I'm thinking of adding a WebSocket interceptor to capture the data and manipulate it, but I am not sure whether it's possible to add an interceptor to a WebSocket endpoint that is exposed by a third party library.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'm trying to connect a backend program that I wrote in java to frontend design that I made with "FIGMA". I pretty new in that, I was trying to read some information about it but didn't successes.
how could I make this connection. its kind of a form application that i want to link it to HTML design
There are several ways to connect backend and frontend, one way is to use REST protocol.
Your Backend can expose REST service (some library you can use are Spring MVC, Jersey, CXF, etc) then your Frontend can call the REST service.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I was wondering how to create a java rest api where there is possibility to create something like a "signUp" and "signIn" user authentication to firestore (given it tokens). Supporting it with endpoints which can be accessed with for example postman or swift or android app when the api link is provided.
If I understood your question correctly, you would like to build a REST API which internally authenticates against Firestore? This can definitely be done by exposing the Firebase REST API for authentication with the Java binding for admin accesses.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a Vaadin Project that I didn't wrote. I didn't do anything with Vaadin before. Now I have to implement an API and Web Services for further communication.
So my question is: Is it possible to create web services and a further URL structure to the project besides the Vaadin stuff?
Thank you for your answers.
Vaadin is just a User Interface framework - for the presentation layer.You can write your service layer separately from the presentation layer as usual. So you can use whatever framework or mechanism you are familliar with in java or better yet just add more web services in a same way the old ones are published to preserve consistency.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I need to intercept request and response. I have already intercepted request.
But I cant intercept response and get response body with java.
I need to intercept response in play framework 2.2.x with java
You should use Action Composition to intercept the request/response. You would write your own composition. Please take a look https://www.playframework.com/documentation/2.3.x/JavaActionsComposition
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to the restful web services. So my knowledge is minimal about the topic. I am developing a restful service in Java & I want to call an Amazon web service API from inside the service. Is this possible? How many ways can I do this?
There's no difference to any other java program. Just call the URL using a HTTP Client. A popular one ist the HttpClient from Apache HttpComponent.
Take a look at Jersey framework. If I understand you correctly, you should find this section of the documentation useful.