@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @Deprecated public @interface RestTimeout
RestCall to optionally specify a
timeout in milliseconds for the rest call. If the rest call exceeds the specified time, a RuntimeException is going
to be thrown, unless an exception is specified for the timeout.| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends RuntimeException> |
exception
Deprecated.
|
int |
timeout
Deprecated.
|
public abstract int timeout
public abstract Class<? extends RuntimeException> exception
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.