View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2009 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.impl.wsdl.submit.transports.http;
14  
15  import org.apache.commons.httpclient.HttpMethod;
16  import org.apache.commons.httpclient.methods.RequestEntity;
17  
18  import com.eviware.soapui.impl.rest.RestRequestInterface;
19  
20  public interface ExtendedHttpMethod extends HttpMethod
21  {
22  	public long getMaxSize();
23  
24  	public void setMaxSize( long maxSize );
25  
26  	public long getResponseReadTime();
27  
28  	public void initStartTime();
29  
30  	public long getTimeTaken();
31  
32  	public long getStartTime();
33  
34  	public SSLInfo getSSLInfo();
35  
36  	public String getResponseCharSet();
37  
38  	public String getResponseContentType();
39  
40  	public RequestEntity getRequestEntity();
41  
42  	public void setDumpFile( String dumpFile );
43  
44  	public RestRequestInterface.RequestMethod getMethod();
45  
46  	public void setFailed( Throwable t );
47  
48  	public boolean isFailed();
49  
50  	public Throwable getFailureCause();
51  
52  	public boolean hasResponse();
53  }