Index

A C D E F G H I M R S T U V W 
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 agentId record component.
apiBase() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
Returns the value of the apiBase record component.

C

callbackPath() - Method in record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
Returns the value of the callbackPath record 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 corpId record component.

D

decrypt(String) - Method in class io.agentscope.extensions.channel.wecom.WeComCrypto
Decrypts the Encrypt body 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 encodingAesKey record 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 MsgId field 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 WeComChannelProperties out 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 InboundEventDeduplicator used 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 AccessTokenStore caching 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 InboundMessage from 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 secret record component.
send(OutboundAddress, List<Msg>) - Method in class io.agentscope.extensions.channel.wecom.WeComOutboundClient
Sends each msg to 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 token record 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
type value used in agentscope.json and ChannelFactory.

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_token for one corpid + corpsecret pair.
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 AccessTokenStore so 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 properties block of channels.<id> in agentscope.json.
WeComChannelProperties(String, int, String, String, String, String, String) - Constructor for record class io.agentscope.extensions.channel.wecom.WeComChannelProperties
Creates an instance of a WeComChannelProperties record class.
WeComChannelRegistry - Class in io.agentscope.extensions.channel.wecom
Process-wide lookup table from channelId to WeComChannel instance.
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
 
A C D E F G H I M R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values