1 Unstar Star 1 Fork 0

@Billcoding / handleraop-spring-bootJavaApache-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Spring Boot Starter supports with handleraop spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

HandlerAop Spring Boot

Introduction

Spring Boot Starter supports with handleraop

Usage

POM

<dependency>
    <groupId>com.billcoding.handleraop</groupId>
    <artifactId>handleraop-spring-boot-starter</artifactId>
    <version>${version}</version>
</dependency>

Configuration

handleraop:
  enable: true #是否开启Handleraop
  enable-builtin-handlers: true #是否开启内置的handlers
  builtin-handlers:
    authenticator: true #开启基于Redis简单的授权验证器
    parameter-setter: true #开启参数预设置器
    parameter-json-setter: true #开启json格式的参数预设置器
    parameter-validator: true #开启参数验证器
    before-handler: true #开启before callback
    after-handler: true #开启after callback
    thrown-handler: true #开启全局异常handler
  before: #定义前置handler
    - MARKER_ANNOTATION:HANDLER_CLASS
  after: #定义后置handler
    - MARKER_ANNOTATION:HANDLER_CLASS
  after-thrown: #定义后置异常handler
    - MARKER_ANNOTATION:HANDLER_CLASS

Test

Comments ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/billcoding/handleraop-spring-boot.git
git@gitee.com:billcoding/handleraop-spring-boot.git
billcoding
handleraop-spring-boot
handleraop-spring-boot
master

Search