Package | Description |
---|---|
org.cometd.bayeux | |
org.cometd.bayeux.server |
Modifier and Type | Method | Description |
---|---|---|
ChannelId |
Channel.getChannelId() |
|
ChannelId |
Message.getChannelId() |
Convenience method to retrieve the
Message.CHANNEL_FIELD . |
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
ChannelId.bind(ChannelId target) |
If this
ChannelId is a template, and the given target ChannelId
is non-wild and non-template, and the two have the same depth() , then binds
the variable(s) defined in this template with the values of the segments defined by
the target ChannelId . |
boolean |
ChannelId.isAncestorOf(ChannelId id) |
|
boolean |
ChannelId.isParentOf(ChannelId id) |
|
boolean |
ChannelId.matches(ChannelId channelId) |
Tests whether this
ChannelId matches the given ChannelId . |
Modifier and Type | Method | Description |
---|---|---|
Authorizer.Result |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message) |
Blocking version of
Authorizer.authorize(Operation, ChannelId, ServerSession, ServerMessage, Promise) . |
default void |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message,
Promise<Authorizer.Result> promise) |
Callback invoked to authorize the given
operation on the given channel . |
Copyright © 2008–2017 The CometD Project. All rights reserved.