Package net.sf.jasperreports.data.http
Class StandardHttpDataLocation
- java.lang.Object
-
- net.sf.jasperreports.data.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 Objectclone()StringgetBody()List<HttpLocationParameter>getHeaders()RequestMethodgetMethod()StringgetPassword()List<HttpLocationParameter>getPostParameters()StringgetUrl()List<HttpLocationParameter>getUrlParameters()StringgetUsername()voidsetBody(String body)voidsetHeaders(List<HttpLocationParameter> headers)voidsetMethod(RequestMethod method)voidsetPassword(String password)voidsetPostParameters(List<HttpLocationParameter> postParameters)voidsetUrl(String url)voidsetUrlParameters(List<HttpLocationParameter> urlParameters)voidsetUsername(String username)
-
-
-
Method Detail
-
getMethod
public RequestMethod getMethod()
- Specified by:
getMethodin interfaceHttpDataLocation
-
setMethod
public void setMethod(RequestMethod method)
-
getUrl
public String getUrl()
- Specified by:
getUrlin interfaceHttpDataLocation
-
setUrl
public void setUrl(String url)
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceHttpDataLocation
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceHttpDataLocation
-
setPassword
public void setPassword(String password)
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getUrlParameters
public List<HttpLocationParameter> getUrlParameters()
- Specified by:
getUrlParametersin interfaceHttpDataLocation
-
setUrlParameters
public void setUrlParameters(List<HttpLocationParameter> urlParameters)
-
getBody
public String getBody()
- Specified by:
getBodyin interfaceHttpDataLocation
-
setBody
public void setBody(String body)
-
getPostParameters
public List<HttpLocationParameter> getPostParameters()
- Specified by:
getPostParametersin interfaceHttpDataLocation
-
setPostParameters
public void setPostParameters(List<HttpLocationParameter> postParameters)
-
getHeaders
public List<HttpLocationParameter> getHeaders()
- Specified by:
getHeadersin interfaceHttpDataLocation
-
setHeaders
public void setHeaders(List<HttpLocationParameter> headers)
-
-