Package com.qq.weixin.sdk.message.filter

Examples of com.qq.weixin.sdk.message.filter.FilterChain


*/
public class MessageHandlerLocation extends MessageHandlerHelper {

  @Override
  public Message handleSpecialMessage(Message message) {
    FilterChain filterChain = new FilterChain();
    filterChain.addFilter(new FilterDefaultResult());// add this,so the next line does not have to verify whether result is null or not
    return filterChain.doFilterChain(message);
  }
View Full Code Here


*/
public class MessageHandlerLink extends MessageHandlerHelper {

  @Override
  public Message handleSpecialMessage(Message message) {
    FilterChain filterChain = new FilterChain();
    filterChain.addFilter(new FilterDefaultResult());// add this,so the next line does not have to verify whether result is null or not
    return filterChain.doFilterChain(message);
  }
View Full Code Here

*/
public class MessageHandlerImage extends MessageHandlerHelper {

  @Override
  public Message handleSpecialMessage(Message message) {
    FilterChain filterChain = new FilterChain();
    filterChain.addFilter(new FilterDefaultResult());// add this,so the next line does not have to verify whether result is null or not
    return filterChain.doFilterChain(message);
  }
View Full Code Here

*/
public class MessageHandlerText extends MessageHandlerHelper {

  @Override
  public Message handleSpecialMessage(Message message) {
    FilterChain filterChain = new FilterChain();
    filterChain.addFilter(new FilterHelp());
    filterChain.addFilter(new FilterDefaultResult());// add this,so the next line does not have to verify whether result is null or not
    return filterChain.doFilterChain(message);
  }
View Full Code Here

*/
public class MessageHandlerEvent extends MessageHandlerHelper {

  @Override
  public Message handleSpecialMessage(Message message) {
    FilterChain filterChain = new FilterChain();
    filterChain.addFilter(new FilterGreeting());// I do not check if it is "subscribe"
    filterChain.addFilter(new FilterDefaultResult());// add this,so the next line does not have to verify whether result is null or not
    return filterChain.doFilterChain(message);
  }
View Full Code Here

TOP

Related Classes of com.qq.weixin.sdk.message.filter.FilterChain

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.