From f8dee028695c57d27ddfc59936d073cfccaa1d4b Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 30 Apr 2010 20:44:28 +0000 Subject: Updating REST binding to use common-http cache context class and minor update to HTTPCacheContext factory method git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@939810 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java') diff --git a/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java b/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java index 371645c2d4..20fb9309d5 100644 --- a/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java +++ b/sca-java-2.x/trunk/modules/binding-atom-runtime/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java @@ -163,7 +163,7 @@ class AtomBindingListenerServlet extends HttpServlet { // Test for any cache info in the request HTTPCacheContext cacheContext = null; try { - cacheContext = HTTPCacheContext.getCacheContextFromRequest( request ); + cacheContext = HTTPCacheContext.createCacheContextFromRequest( request ); } catch ( java.text.ParseException e ) { } // System.out.println( "AtomBindingListener.doGet cache context=" + cacheContext ); -- cgit v1.2.3