|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.restdriver.serverdriver.http.request.RequestBody
public final class RequestBody
Encapsulates a Request body for a PUT or a POST. User: mjg Date: 21/04/11 Time: 14:32
| Constructor Summary | |
|---|---|
RequestBody(String content,
String contentType)
Creates a new request body instance. |
|
| Method Summary | |
|---|---|
String |
getContent()
Gets the content of this request body. |
String |
getContentType()
Gets the content-type of this request body. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestBody(String content,
String contentType)
content - A string to use for the contentcontentType - A string representing the content-type| Method Detail |
|---|
public String getContent()
public String getContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||