I am using Jersey restful web services . This is my below code
@Path(/test)
public class testService {
@POST
public String getData(Postdata postdata) {
}
}
My question is , is it possible to get access to httpSession Object here in this class ??
Try:
If your service is NOT singleton, you can use: