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  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  }