public class WebReporter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.LinkedBlockingQueue<Pair<javax.ws.rs.client.WebTarget,javax.ws.rs.client.Entity>> |
queue |
Modifier and Type | Method and Description |
---|---|
static WebReporter |
getInstance() |
void |
postReport(javax.ws.rs.client.WebTarget target,
javax.ws.rs.client.Entity entity)
This method immediately sends UI report to specified target using POST request
|
void |
queueReport(javax.ws.rs.client.WebTarget target,
javax.ws.rs.client.Entity entity)
This method queues UI report for sending
|
protected java.util.concurrent.LinkedBlockingQueue<Pair<javax.ws.rs.client.WebTarget,javax.ws.rs.client.Entity>> queue
public static WebReporter getInstance()
public void queueReport(javax.ws.rs.client.WebTarget target, javax.ws.rs.client.Entity entity)
target
- entity
- public void postReport(javax.ws.rs.client.WebTarget target, javax.ws.rs.client.Entity entity)
target
- entity
-