Annotation Interface PutExchange
@Target(METHOD)
@Retention(RUNTIME)
@Documented
@HttpExchange(method="PUT")
public @interface PutExchange
Shortcut for
@HttpExchange
for HTTP PUT requests.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Alias forHttpExchange.accept()
.Alias forHttpExchange.contentType()
.String[]
Alias forHttpExchange.headers()
.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:
- {}
-
headers
Alias forHttpExchange.headers()
.- Since:
- 6.2
- Default:
- {}
-