我有一个像这样定义的http入站适配器-
<int-http:inbound-channel-adapter id="httpInboundAdapter"
channel="receiveChannel"
name="/inboundAdapter.htm"
supported-methods="GET, POST" />
<int:channel id="receiveChannel"/>
<int:service-activator input-channel="receiveChannel" expression="@sayHello.sayHello(payload)" />
我希望能够区分 GET 和 POST 请求并对它们做出不同的响应。我怎么能这样做..?