Class StandardHttpDataLocation
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.http.StandardHttpDataLocation
-
- All Implemented Interfaces:
Cloneable
,DataFile
,HttpDataLocation
,JRCloneable
public class StandardHttpDataLocation extends Object implements HttpDataLocation
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description StandardHttpDataLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getBody()
List<HttpLocationParameter>
getHeaders()
RequestMethod
getMethod()
String
getPassword()
List<HttpLocationParameter>
getPostParameters()
String
getUrl()
List<HttpLocationParameter>
getUrlParameters()
String
getUsername()
void
setBody(String body)
void
setHeaders(List<HttpLocationParameter> headers)
void
setMethod(RequestMethod method)
void
setPassword(String password)
void
setPostParameters(List<HttpLocationParameter> postParameters)
void
setUrl(String url)
void
setUrlParameters(List<HttpLocationParameter> urlParameters)
void
setUsername(String username)
-
-
-
Method Detail
-
getMethod
public RequestMethod getMethod()
- Specified by:
getMethod
in interfaceHttpDataLocation
-
setMethod
public void setMethod(RequestMethod method)
-
getUrl
public String getUrl()
- Specified by:
getUrl
in interfaceHttpDataLocation
-
setUrl
public void setUrl(String url)
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceHttpDataLocation
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceHttpDataLocation
-
setPassword
public void setPassword(String password)
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getUrlParameters
public List<HttpLocationParameter> getUrlParameters()
- Specified by:
getUrlParameters
in interfaceHttpDataLocation
-
setUrlParameters
public void setUrlParameters(List<HttpLocationParameter> urlParameters)
-
getBody
public String getBody()
- Specified by:
getBody
in interfaceHttpDataLocation
-
setBody
public void setBody(String body)
-
getPostParameters
public List<HttpLocationParameter> getPostParameters()
- Specified by:
getPostParameters
in interfaceHttpDataLocation
-
setPostParameters
public void setPostParameters(List<HttpLocationParameter> postParameters)
-
getHeaders
public List<HttpLocationParameter> getHeaders()
- Specified by:
getHeaders
in interfaceHttpDataLocation
-
setHeaders
public void setHeaders(List<HttpLocationParameter> headers)
-
-