@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface RestCall
| Modifier and Type | Required Element and Description |
|---|---|
String |
uri
URI of the REST resource to query
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
contentType
The content-type of the response from this method call.
|
RestExceptionOn[] |
exceptions
List of exceptions to throw, configured by pairing an exception type and an expression which is evaluated.
|
HttpMethod |
method
The HTTP method to use
|
public abstract String uri
public abstract String contentType
public abstract HttpMethod method
public abstract RestExceptionOn[] exceptions
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.