All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iwbfly.myhttp.lifecycles.ParameterAnnotationLifeCycle Maven / Gradle / Ivy

The newest version!
package com.iwbfly.myhttp.lifecycles;

import com.iwbfly.myhttp.exceptions.MyhttpRuntimeException;
import com.iwbfly.myhttp.interceptor.Interceptor;
import com.iwbfly.myhttp.mapping.MappingParameter;
import com.iwbfly.myhttp.reflection.MyhttpMethod;
import com.iwbfly.myhttp.reflection.MyhttpRequest;
import com.iwbfly.myhttp.reflection.MyhttpResponse;

import java.lang.annotation.Annotation;

/**
 * @author pangyajun
 * @since 2021/11/27 10:10
 **/
public interface ParameterAnnotationLifeCycle extends Interceptor {

    default void onParameterInitialized(MyhttpMethod method, MappingParameter parameter, A annotation){};
    default void onInvokeParameter(MyhttpMethod method, MappingParameter parameter, A annotation){};

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy