Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- agentId() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
agentIdrecord component. - apiBase() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
apiBaserecord component.
C
- callbackPath() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
callbackPathrecord component. - channelId() - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
- config() - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
- corpId() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
corpIdrecord component.
D
- decrypt(String) - Method in class io.agentscope.extensions.channel.wecom.WeComCrypto
-
Decrypts the
Encryptbody and returns the inner XML payload as a UTF-8 string. - deliver(OutboundAddress, List<Msg>) - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
- dispatch(InboundMessage) - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
- dispatch(String, String, String, String, String) - Method in class io.agentscope.extensions.channel.wecom.WeComCallbackController
-
Inbound encrypted message.
E
- encodingAesKey() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
encodingAesKeyrecord component. - equals(Object) - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Indicates whether some other object is "equal to" this one.
- extractMsgId(String) - Static method in class io.agentscope.extensions.channel.wecom.WeComInboundMapper
-
Returns the
MsgIdfield if present, used by the idempotency store.
F
- from(String, Map<String, Object>) - Static method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Reads a
WeComChannelPropertiesout of an arbitrary properties map. - fromProperties(String, ChannelConfig, Map<String, Object>) - Static method in class io.agentscope.extensions.channel.wecom.WeComChannel
-
Factory used by
ChannelFactory. - fromProperties(String, ChannelConfig, Map<String, Object>, InboundEventDeduplicator) - Static method in class io.agentscope.extensions.channel.wecom.WeComChannel
-
Factory variant that lets the application supply the
InboundEventDeduplicatorused to drop platform redeliveries — for example a shared-storage implementation so duplicates are recognized across instances. - fromProperties(String, ChannelConfig, Map<String, Object>, InboundEventDeduplicator, AccessTokenStore) - Static method in class io.agentscope.extensions.channel.wecom.WeComChannel
-
Factory variant that additionally lets the application supply the
AccessTokenStorecaching the outbound access token — for example a shared-storage implementation so one instance's refresh or invalidation serves the whole deployment.
G
- get(String) - Method in class io.agentscope.extensions.channel.wecom.WeComChannelRegistry
H
- hashCode() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns a hash code value for this object.
I
- init(Gateway) - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
- instance() - Static method in class io.agentscope.extensions.channel.wecom.WeComChannelRegistry
-
Returns the process-wide singleton instance.
- invalidate() - Method in class io.agentscope.extensions.channel.wecom.WeComAccessTokenProvider
-
Forces the next
WeComAccessTokenProvider.token()call to refresh. - io.agentscope.extensions.channel.wecom - package io.agentscope.extensions.channel.wecom
M
- map(String) - Method in class io.agentscope.extensions.channel.wecom.WeComInboundMapper
-
Builds an
InboundMessagefrom a decrypted WeCom message XML.
R
- register(WeComChannel) - Method in class io.agentscope.extensions.channel.wecom.WeComChannelRegistry
S
- secret() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
secretrecord component. - send(OutboundAddress, List<Msg>) - Method in class io.agentscope.extensions.channel.wecom.WeComOutboundClient
-
Sends each
msgto the resolved peer. - start() - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
- stop() - Method in class io.agentscope.extensions.channel.wecom.WeComChannel
T
- token() - Method in class io.agentscope.extensions.channel.wecom.WeComAccessTokenProvider
-
Returns a valid access token, refreshing in-band when the cached one is missing or close to expiring.
- token() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns the value of the
tokenrecord component. - toString() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Returns a string representation of this record class.
- TYPE - Static variable in class io.agentscope.extensions.channel.wecom.WeComChannel
-
typevalue used inagentscope.jsonandChannelFactory.
U
- unregister(String) - Method in class io.agentscope.extensions.channel.wecom.WeComChannelRegistry
V
- verify(String, String, String, String, String) - Method in class io.agentscope.extensions.channel.wecom.WeComCallbackController
-
URL verification handshake.
- verifySignature(String, String, String, String) - Method in class io.agentscope.extensions.channel.wecom.WeComCrypto
-
Verifies the SHA-1 signature produced by sorting
[token, timestamp, nonce, encrypt], concatenating, and hashing.
W
- WeComAccessTokenProvider - Class in io.agentscope.extensions.channel.wecom
-
Fetches and caches a WeCom
access_tokenfor onecorpid + corpsecretpair. - WeComAccessTokenProvider(String, String, String) - Constructor for class io.agentscope.extensions.channel.wecom.WeComAccessTokenProvider
- WeComAccessTokenProvider(String, String, String, AccessTokenStore) - Constructor for class io.agentscope.extensions.channel.wecom.WeComAccessTokenProvider
-
Constructor variant that lets the application choose where the token is cached — for example a shared-storage
AccessTokenStoreso one refresh or invalidation serves all instances. - WeComCallbackController - Class in io.agentscope.extensions.channel.wecom
-
Handles the WeCom callback URL handshake (GET) and inbound encrypted message delivery (POST).
- WeComCallbackController() - Constructor for class io.agentscope.extensions.channel.wecom.WeComCallbackController
- WeComChannel - Class in io.agentscope.extensions.channel.wecom
-
WeCom (企业微信) channel adapter.
- WeComChannelProperties - Record Class in io.agentscope.extensions.channel.wecom
-
Provider-specific configuration for a single WeCom (企业微信) channel instance, sourced from the
propertiesblock ofchannels.<id>inagentscope.json. - WeComChannelProperties(String, int, String, String, String, String, String) - Constructor for record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
-
Creates an instance of a
WeComChannelPropertiesrecord class. - WeComChannelRegistry - Class in io.agentscope.extensions.channel.wecom
-
Process-wide lookup table from
channelIdtoWeComChannelinstance. - WeComCrypto - Class in io.agentscope.extensions.channel.wecom
-
Implements WeCom's URL-handshake signature + AES-CBC + PKCS#7 encrypt / decrypt scheme.
- WeComCrypto(String, String, String) - Constructor for class io.agentscope.extensions.channel.wecom.WeComCrypto
- WeComInboundMapper - Class in io.agentscope.extensions.channel.wecom
-
Parses a decrypted WeCom callback XML body into an
InboundMessage. - WeComInboundMapper(String, String) - Constructor for class io.agentscope.extensions.channel.wecom.WeComInboundMapper
- WeComOutboundClient - Class in io.agentscope.extensions.channel.wecom
-
WeCom outbound HTTP client.
- WeComOutboundClient(String, WeComAccessTokenProvider, int) - Constructor for class io.agentscope.extensions.channel.wecom.WeComOutboundClient
All Classes and Interfaces|All Packages|Constant Field Values