Class ResponseContent
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.FodApi.ResponseContent
-
- All Implemented Interfaces:
Serializable
public class ResponseContent extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseContent(InputStream body, boolean isSuccessful, int code, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbodyContent()intcode()booleanisSuccessful()Stringmessage()voidparseBody()
-
-
-
Constructor Detail
-
ResponseContent
public ResponseContent(InputStream body, boolean isSuccessful, int code, String message)
-
-
Method Detail
-
parseBody
public void parseBody() throws IOException- Throws:
IOException
-
bodyContent
public String bodyContent()
-
isSuccessful
public boolean isSuccessful()
-
code
public int code()
-
message
public String message()
-
-