cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r562798 - /cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceConsumerSourceFactory.java
Date Sun, 05 Aug 2007 01:49:37 GMT
Author: vgritsenko
Date: Sat Aug  4 18:49:36 2007
New Revision: 562798

URL: http://svn.apache.org/viewvc?view=rev&rev=562798
Log:
tabs, version

Modified:
    cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceConsumerSourceFactory.java

Modified: cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceConsumerSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceConsumerSourceFactory.java?view=diff&rev=562798&r1=562797&r2=562798
==============================================================================
--- cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceConsumerSourceFactory.java
(original)
+++ cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-components/src/main/java/org/apache/cocoon/servletservice/postable/components/ServletServiceConsumerSourceFactory.java
Sat Aug  4 18:49:36 2007
@@ -28,28 +28,31 @@
 
 /**
  * A factory for <code>service-consumer:</code> source.
+ *
  * @see ServletServiceConsumerSource
+ * @version $Id$
  */
 public class ServletServiceConsumerSourceFactory implements SourceFactory {
 	
-	private ProcessInfoProvider processInfoProvider;
+    private ProcessInfoProvider processInfoProvider;
 
-	public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
{
-		HttpServletRequest request = processInfoProvider.getRequest();
-		if (!"POST".equals(request.getMethod()))
-			throw new MalformedURLException("Cannot create consumer source for request that is not
POST.");
-		return new ServletServiceConsumerSource(request);
-	}
+    public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
{
+        HttpServletRequest request = processInfoProvider.getRequest();
+        if (!"POST".equals(request.getMethod())) {
+            throw new MalformedURLException("Cannot create consumer source for request that
is not POST.");
+        }
 
-	public void release(Source source) {
-	}
+        return new ServletServiceConsumerSource(request);
+    }
 
-	public ProcessInfoProvider getProcessInfoProvider() {
-		return processInfoProvider;
-	}
+    public void release(Source source) {
+    }
 
-	public void setProcessInfoProvider(ProcessInfoProvider processInfoProvider) {
-		this.processInfoProvider = processInfoProvider;
-	}
+    public ProcessInfoProvider getProcessInfoProvider() {
+        return processInfoProvider;
+    }
 
+    public void setProcessInfoProvider(ProcessInfoProvider processInfoProvider) {
+        this.processInfoProvider = processInfoProvider;
+    }
 }



Mime
View raw message