|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.italiangrid.voms.request.impl.RESTVOMSResponse
public class RESTVOMSResponse
This class is used to parse and represent VOMS server responses coming from a RESTful VOMS service.
Field Summary | |
---|---|
protected Document |
xmlResponse
|
Constructor Summary | |
---|---|
RESTVOMSResponse(Document res)
|
Method Summary | |
---|---|
VOMSErrorMessage[] |
errorMessages()
Extracts the error messages from the VOMS response. |
byte[] |
getAC()
Extracts the AC from the VOMS response. |
int |
getVersion()
Extracts the version from the VOMS response. |
String |
getXMLAsString()
|
boolean |
hasErrors()
|
boolean |
hasWarnings()
|
VOMSWarningMessage[] |
warningMessages()
Extracts the warning messags from the VOMS response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Document xmlResponse
Constructor Detail |
---|
public RESTVOMSResponse(Document res)
Method Detail |
---|
public int getVersion()
VOMSResponse
getVersion
in interface VOMSResponse
public boolean hasErrors()
hasErrors
in interface VOMSResponse
true
if this VOMSResponse
has errors, false
otherwisepublic boolean hasWarnings()
hasWarnings
in interface VOMSResponse
true
if this VOMSResponse
has warnings, false
otherwisepublic byte[] getAC()
VOMSResponse
getAC
in interface VOMSResponse
public VOMSErrorMessage[] errorMessages()
VOMSResponse
errorMessages
in interface VOMSResponse
VOMSErrorMessage
objects.public VOMSWarningMessage[] warningMessages()
VOMSResponse
warningMessages
in interface VOMSResponse
VOMSWarningMessage
objects.public String getXMLAsString()
getXMLAsString
in interface VOMSResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |