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

com.iwbfly.myhttp.lifecycles.method.GetRequestLifeCycle Maven / Gradle / Ivy

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

import com.iwbfly.myhttp.HttpMethod;
import com.iwbfly.myhttp.reflection.MetaRequest;
import com.iwbfly.myhttp.reflection.MyhttpMethod;

import java.lang.annotation.Annotation;

/**
 * @author pangyajun
 * @since 2021/11/27 10:29
 **/
public class GetRequestLifeCycle extends RequestLifeCycle {

    @Override
    public void onMethodInitialized(MyhttpMethod method, Annotation annotation) {
        method.setTypeTemplate(method.makeTemplate(HttpMethod.GET.value()));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy