org.apache.commons.latka.http
Class MethodFactory

java.lang.Object
  extended byorg.apache.commons.latka.http.MethodFactory

public final class MethodFactory
extends java.lang.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, java.net.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,
                                                                   java.net.URL url)
Creates and returns an object implementing the HttpMethod interface.

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


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.