批注接口 Crypto


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented public @interface Crypto

Description: 加密解密标记注解

作者:
: gengwei.zheng
Date:
: 2021/10/4 11:48
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
    请求参数记否解密,默认值 true
    boolean
    响应体是否加密,默认值 true
  • 元素详细资料

    • requestDecrypt

      boolean requestDecrypt
      请求参数记否解密,默认值 true
      返回:
      true 请求参数解密;false 请求参数不解密
      默认值:
      true
    • responseEncrypt

      boolean responseEncrypt
      响应体是否加密,默认值 true
      返回:
      true 响应体加密;false 响应体不加密
      默认值:
      true