diff options
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBinding.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBinding.java b/sca-java-2.x/trunk/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBinding.java index 9e16acc524..6ef5292281 100644 --- a/sca-java-2.x/trunk/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBinding.java +++ b/sca-java-2.x/trunk/modules/binding-rest/src/main/java/org/apache/tuscany/sca/binding/rest/RESTBinding.java @@ -36,8 +36,21 @@ public interface RESTBinding extends Binding { public List<HTTPHeader> getHttpHeaders(); + /** + * Retrieve read timeout configuration for the REST binding + * @return + */ public int getReadTimeout(); + + /** + * Configure read timeout for the REST binding + * @param timeout + */ public void setReadTimeout(int timeout); + /** + * Flag to enable CORS support on the REST binding + * @return + */ public boolean isCORS(); } |