Package org.glassfish.admin.rest.testing
Class ResponseVerifier
java.lang.Object
org.glassfish.admin.rest.testing.ResponseVerifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody(ObjectValue objectWant) body(StringValue want) protected intprotected Environmentheader(String name, StringValue want) headers(ObjectValue objectWant) locationHeader(String uriWant) locationHeader(StringValue stringWant) status(int... statuses) xLocationHeader(String uriWant) xLocationHeader(StringValue stringWant)
-
Constructor Details
-
ResponseVerifier
-
-
Method Details
-
getEnvironment
-
getResponse
-
status
-
getDefaultStatus
protected int getDefaultStatus() -
locationHeader
- Throws:
Exception
-
locationHeader
- Throws:
Exception
-
xLocationHeader
- Throws:
Exception
-
xLocationHeader
- Throws:
Exception
-
header
- Throws:
Exception
-
headers
- Throws:
Exception
-
body
- Throws:
Exception
-
body
- Throws:
Exception
-