mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
SPRINT-15: added default constructor
This commit is contained in:
@ -43,6 +43,16 @@ public class QHttpResponse
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Default Constructor for qHttpResponse
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public QHttpResponse()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Constructor for qHttpResponse
|
** Constructor for qHttpResponse
|
||||||
**
|
**
|
||||||
@ -171,4 +181,17 @@ public class QHttpResponse
|
|||||||
{
|
{
|
||||||
this.content = content;
|
this.content = content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for content
|
||||||
|
**
|
||||||
|
*******************************************************************************/
|
||||||
|
public QHttpResponse withContent(String content)
|
||||||
|
{
|
||||||
|
this.content = content;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user