1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.impl.wsdl.submit.transports.http;
14
15 import java.io.IOException;
16
17 import org.apache.commons.httpclient.HttpMethod;
18 import org.apache.commons.httpclient.methods.RequestEntity;
19
20 import com.eviware.soapui.impl.rest.RestRequestInterface;
21
22 public interface ExtendedHttpMethod extends HttpMethod
23 {
24 public long getMaxSize();
25
26 public void setMaxSize( long maxSize );
27
28 public long getResponseReadTime();
29
30 public void initStartTime();
31
32 public long getTimeTaken();
33
34 public long getStartTime();
35
36 public SSLInfo getSSLInfo();
37
38 public String getResponseCharSet();
39
40 public String getResponseContentType();
41
42 public RequestEntity getRequestEntity();
43
44 public void setDumpFile( String dumpFile );
45
46 public RestRequestInterface.RequestMethod getMethod();
47
48 public void setFailed( Throwable t );
49
50 public boolean isFailed();
51
52 public Throwable getFailureCause();
53
54 public boolean hasResponse();
55
56 public byte[] getDecompressedResponseBody() throws IOException;
57
58 public void setDecompress( boolean decompress );
59 }