org.jboss.portal.junit
Class ServerResponseFactory

java.lang.Object
  extended by org.jboss.portal.junit.ServerResponseFactory

public class ServerResponseFactory
extends java.lang.Object

Create a server response with the result of the http response.


Constructor Summary
ServerResponseFactory()
           
 
Method Summary
static ServerResponse create(org.apache.commons.httpclient.HttpMethod method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerResponseFactory

public ServerResponseFactory()
Method Detail

create

public static ServerResponse create(org.apache.commons.httpclient.HttpMethod method)
                             throws java.lang.Exception
Throws:
java.lang.Exception