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

com.techempower.gemini.path.annotation.ConsumesString Maven / Gradle / Ivy

There is a newer version: 3.3.14
Show newest version
package com.techempower.gemini.path.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.techempower.gemini.path.StringRequestBodyAdapter;

/**
 * 

A convenience annotation that is equivalent to * {@code @Body(StringRequestBodyAdapter.class)}.

* *

Indicates that the request body should be read into a String * and passed as the last parameter to the handler method. The last * parameter must be a String.

*/ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Body(StringRequestBodyAdapter.class) public @interface ConsumesString { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy