I just need to know how to manipulate url parameters when someone calls my API with parameters. 

```
http://localhost:8100/apis/employee?firstName=john&lastName=Do 

```

I want to use these firstName and lastName parameters on my GET method but I don't know how to extract them. 

```
@GET
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Response getEmployee() {

//Just need to extract the parameters in here so I can use on the logic to return only the ones that meet the requirements. 

}

```

Any help would be appreciated. I am using SpringBootApplication on Java