python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Java Jersery: How to handle multiple Queries Parameters for a REST URL with UriInfo
I have implemented a rest Query as shown below:
@Path("list")
@GET
public List<Todo> getTodos(@Context UriInfo uriInfo){
MultivaluedMap<String, String> queryParameters = uriInf...
User27854
Votes: 0
Answers: 1
Java Jersery: How to handle unwanted Query Parameters for a REST URL
I have written an implementation for the rest API. I have avoided using @QueryParam annotation as I currently need to handle 15 different parameter and the list is likely to grow on time. As an altern...
User27854
Votes: 0
Answers: 0
Is a @SessionScoped bean can be use to save information of authentication of a client?
I'm currently using a object @SessionScoped "SessionBean" to store information of the logged user and to return him a custom ID, for instance.
@Path("/auth")
public class Authentic...
iriiko
Votes: 0
Answers: 1
Java: Jersey: How to handle multiple query parameters
I have a rest API
http://localhost:9090/hello-todo/api/v1/todo/list
The implementation for the same is
@Path("list")
@GET
public List<Todo> getTodos(){
return todoService.getTodos()...
User27854
Votes: 0
Answers: 0