public class SomResponse
extends java.lang.Object
Constructor and Description |
---|
SomResponse()
Create a new empty response object
|
SomResponse(int s,
java.lang.String v)
Create a SomResponse object with a given status and data
|
Modifier and Type | Method and Description |
---|---|
boolean |
expectData() |
java.lang.String |
getMessage() |
int |
getStatus() |
void |
parse()
Parse response string into status indication and data
|
public SomResponse()
public SomResponse(int s, java.lang.String v)
s
- status valuev
- data stringpublic boolean expectData()
public void parse() throws SomException
SomException
- indicating problem with datapublic java.lang.String getMessage()
public int getStatus()
Version: 18.0v6-0
Copyright (c) 2017-2020 Isode