Annotation Interface PostExchange
@Target(METHOD)
@Retention(RUNTIME)
@Documented
@HttpExchange(method="POST")
public @interface PostExchange
Shortcut for
HttpExchange
for HTTP POST requests.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Alias forHttpExchange.accept()
.Alias forHttpExchange.contentType()
.Alias forHttpExchange.url()
.Alias forHttpExchange.value()
.
-
Element Details
-
value
Alias forHttpExchange.value()
.- Default:
- ""
-
url
Alias forHttpExchange.url()
.- Default:
- ""
-
contentType
Alias forHttpExchange.contentType()
.- Default:
- ""
-
accept
Alias forHttpExchange.accept()
.- Default:
- {}
-