public class MetaSubscribeRequest extends RequestBase implements BayeuxRequest
| Modifier and Type | Field and Description |
|---|---|
protected static HashMap<String,Object> |
responseTemplate |
channel, clientId, conType, data, desiredConnTypeFlag, event, ext, id, minVersion, reconnectInterval, response, subscription, suppConnTypes, suppConnTypesFlag, timestampFmt, tomcatBayeux, versionCURRENT_REQ_ATTR, JSON_MSG_ARRAY, LAST_REQ_ATTR| Constructor and Description |
|---|
MetaSubscribeRequest(TomcatBayeux tb,
HttpEvent event,
JSONObject jsReq) |
| Modifier and Type | Method and Description |
|---|---|
int |
process(int prevops)
Register interest for one or more channels.
|
HttpError |
validate()
Check client request for validity.
|
addToDeliveryQueue, deliver, flushMessages, getChannel, getClientId, getEvent, getExt, getId, getJSONArray, getJSONArray, getReconnectInterval, getTimeStamp, getTomcatBayeuxpublic MetaSubscribeRequest(TomcatBayeux tb, HttpEvent event, JSONObject jsReq) throws JSONException
JSONExceptionpublic HttpError validate()
validate in interface BayeuxRequestvalidate in class RequestBasepublic int process(int prevops)
throws BayeuxException
process in interface BayeuxRequestprocess in class RequestBaseprevops - - the operation requested by the previous request, in case of chained requests.BayeuxException - - if an error was detected, and the appropriate error response couldn't be delivered to the client.Copyright © 2016 JBoss by Red Hat. All rights reserved.