1
2
3
4
5
6
7
8
9
10
11
12 package com.eviware.soapui.impl.support.http;
13
14 import com.eviware.soapui.config.AbstractRequestConfig;
15 import com.eviware.soapui.impl.rest.RestRequestInterface.RequestMethod;
16 import com.eviware.soapui.impl.rest.support.RestParamsPropertyHolder;
17 import com.eviware.soapui.impl.support.AbstractHttpRequestInterface;
18 import com.eviware.soapui.impl.wsdl.MutableAttachmentContainer;
19 import com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder;
20 import com.eviware.soapui.model.iface.Request;
21 import com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer;
22
23 public interface HttpRequestInterface<T extends AbstractRequestConfig> extends AbstractHttpRequestInterface<T>,
24 Request, MutableTestPropertyHolder, PropertyExpansionContainer, MutableAttachmentContainer
25 {
26
27 public String getMediaType();
28
29 public void setMethod( RequestMethod method );
30
31 public boolean hasRequestBody();
32
33 public RestParamsPropertyHolder getParams();
34
35 public boolean isPostQueryString();
36
37 public void setMediaType( String mediaType );
38
39 public void setPostQueryString( boolean b );
40
41 public String getResponseContentAsXml();
42
43 public void updateConfig( T request );
44
45 public String getPath();
46
47 }