Annotation Interface Put


@Target(METHOD) @Retention(RUNTIME) public @interface Put
Annotation used to mark methods to be used for responding to post requests from the client.
 
 	@Put("/users")
 	public static void users(BlazingResponse response) {
 		...
 	}
 
 
The above snipped declares a method and marks it as the respondent for put request made to the the path `/users`. The default path for a Put is `/`, which represent "home" or localhost.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      "/"