Class Content
- java.lang.Object
-
- ch.colabproject.colab.tests.mailhog.model.Content
-
public class Content extends Object
- Author:
- maxence
-
-
Constructor Summary
Constructors Constructor Description Content()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBody()
Get the value of bodyMap<String,List<String>>
getHeaders()
Get the value of headersString
getMime()
Get the value of mimeInteger
getSize()
Get the value of sizevoid
setBody(String body)
Set the value of bodyvoid
setHeaders(Map<String,List<String>> headers)
Set the value of headersvoid
setMime(String mime)
Set the value of mimevoid
setSize(Integer size)
Set the value of size
-
-
-
Method Detail
-
getBody
public String getBody()
Get the value of body- Returns:
- the value of body
-
setBody
public void setBody(String body)
Set the value of body- Parameters:
body
- new value of body
-
getSize
public Integer getSize()
Get the value of size- Returns:
- the value of size
-
setSize
public void setSize(Integer size)
Set the value of size- Parameters:
size
- new value of size
-
getMime
public String getMime()
Get the value of mime- Returns:
- the value of mime
-
setMime
public void setMime(String mime)
Set the value of mime- Parameters:
mime
- new value of mime
-
getHeaders
public Map<String,List<String>> getHeaders()
Get the value of headers- Returns:
- the value of headers
-
-