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 StringgetBody()Get the value of bodyMap<String,List<String>>getHeaders()Get the value of headersStringgetMime()Get the value of mimeIntegergetSize()Get the value of sizevoidsetBody(String body)Set the value of bodyvoidsetHeaders(Map<String,List<String>> headers)Set the value of headersvoidsetMime(String mime)Set the value of mimevoidsetSize(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
-
-