I have a rest URL like this http://www.localhost.com/service/resource?status=ACTIVE,PASSIVE and I have a method like this

@GET
public Resource resource(@QueryParam("status") Collection<STATUS> statusList){
}

where STATUS is an enum?

public enum STATUS{
    ACTIVE,PASSIVE,DISABLED
}

My question is there a way for the query param status to be automatically converted to a list of enum type STATUS in jersey or do I have to write my own provider for this?

Edit
Report