public class JAXRResponseImpl extends Object implements JAXRResponse
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_FAILURE |
static int |
STATUS_SUCCESS |
static int |
STATUS_UNAVAILABLE |
static int |
STATUS_WARNING |
Constructor and Description |
---|
JAXRResponseImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getRequestId() |
int |
getStatus() |
boolean |
isAvailable() |
void |
setAvailable(boolean b) |
void |
setRequestId(String s) |
void |
setStatus(int s) |
public static final int STATUS_SUCCESS
public static final int STATUS_FAILURE
public static final int STATUS_UNAVAILABLE
public static final int STATUS_WARNING
public String getRequestId() throws JAXRException
getRequestId
in interface JAXRResponse
JAXRException
public void setRequestId(String s)
public int getStatus() throws JAXRException
getStatus
in interface JAXRResponse
JAXRException
public void setStatus(int s)
public void setAvailable(boolean b)
public boolean isAvailable() throws JAXRException
isAvailable
in interface JAXRResponse
JAXRException
Copyright © 2018 JBoss by Red Hat. All rights reserved.