Annotation Interface MessageHeaders


@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) @Inherited public @interface MessageHeaders
This lets you declare several headers for a client class and have them always included. Example usage:

 @MessageHeaders({
     @Header(name = "Content-type", value = "application/octet-stream"),
     @Header(name = "Content-length", value = "2048")
 })
 
Since:
2.4.0
Author:
graemerocher
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details