org.apache.commons.latka.http
Class MethodFactory

java.lang.Object
  extended by org.apache.commons.latka.http.MethodFactory

public final class MethodFactory
extends Object

This factory provides a single point to obtain implementations of HttpMethod base.

Version:
$Revision $

Method Summary
static org.apache.commons.httpclient.HttpMethod getInstance(int method, URL url)
          Creates and returns an object implementing the HttpMethod interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.apache.commons.httpclient.HttpMethod getInstance(int method,
                                                                   URL url)
Creates and returns an object implementing the HttpMethod interface.

Parameters:
method - - method type to create
Returns:
HttpMethod instance


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.