diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-11 00:53:34 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-11 00:53:34 +0000 |
commit | 644d1e212af0c1026588c0f670ee12d57696c3c5 (patch) | |
tree | 3e200c34e7eaad42980a3bd2a2038a6ffda9792d /sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java | |
parent | cc7fd18905e74b1f4b94e6c591750c31298c211a (diff) |
Tidying up comments and javadocs
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java b/sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java index e9cb0fd1da..4950ea2563 100644 --- a/sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java +++ b/sca-java-2.x/trunk/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/operationselector/provider/HTTPDefaultServiceOperationSelectorInterceptor.java @@ -33,15 +33,12 @@ import org.apache.tuscany.sca.runtime.RuntimeEndpoint; import org.oasisopen.sca.ServiceRuntimeException;
/**
- * Sets the operation based on the request path.
+ * HTTP Binding Default operation selector, which would map
+ * http method (GET, PUT, POST, DELETE) to operations matching
+ * those name. It also supports plain servlet using 'service'
+ * to provide the component functionality.
*
- * From a url: http://localhost:8080/HelloworldComponent/Helloworld/sayHello?name=Petra
- * where the component is HelloworldComponent and the service is Helloworld
- * the path will be "/sayHello" so the operation is "sayHello".
- *
- * TODO: we could also do something similar to how the JMS binding supports
- * a single "onMessage" method to get all requests, so perhaps this could
- * also support impls with method: service(HttpServletRequest, HttpServletResponse)
+ * @version $Rev$ $Date$
*/
public class HTTPDefaultServiceOperationSelectorInterceptor implements Interceptor {
|