Uses of Interface
com.jayway.restassured.specification.ResponseSpecification

Packages that use ResponseSpecification
com.jayway.restassured   
com.jayway.restassured.builder   
com.jayway.restassured.internal   
com.jayway.restassured.specification   
 

Uses of ResponseSpecification in com.jayway.restassured
 

Fields in com.jayway.restassured declared as ResponseSpecification
static ResponseSpecification RestAssured.responseSpecification
          Specify a default response specification that will be sent with each request.
 

Methods in com.jayway.restassured that return ResponseSpecification
static ResponseSpecification RestAssured.expect()
          Start building the response part of the test com.jayway.restassured.specification.
 

Methods in com.jayway.restassured with parameters of type ResponseSpecification
static RequestSender RestAssured.given(RequestSpecification requestSpecification, ResponseSpecification responseSpecification)
          When you have long specifications it can be better to split up the definition of response and request specifications in multiple lines.
 

Uses of ResponseSpecification in com.jayway.restassured.builder
 

Methods in com.jayway.restassured.builder that return ResponseSpecification
 ResponseSpecification ResponseSpecBuilder.build()
          Build the response specification.
 

Methods in com.jayway.restassured.builder with parameters of type ResponseSpecification
 ResponseSpecBuilder ResponseSpecBuilder.addResponseSpecification(ResponseSpecification specification)
          Merge this builder with settings from another specification.
 

Uses of ResponseSpecification in com.jayway.restassured.internal
 

Classes in com.jayway.restassured.internal that implement ResponseSpecification
 class ResponseSpecificationImpl
           
 

Methods in com.jayway.restassured.internal that return ResponseSpecification
 ResponseSpecification ResponseLogSpecificationImpl.all()
           
 ResponseSpecification ResponseLogSpecificationImpl.all(boolean shouldPrettyPrint)
           
 ResponseSpecification ResponseSpecificationImpl.and()
           
 ResponseSpecification ResponseLogSpecificationImpl.body()
           
 ResponseSpecification ResponseLogSpecificationImpl.body(boolean shouldPrettyPrint)
           
 ResponseSpecification ResponseSpecificationImpl.body(org.hamcrest.Matcher matcher, org.hamcrest.Matcher... additionalMatchers)
           
 ResponseSpecification ResponseSpecificationImpl.body(String key, List<Argument> arguments, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
           
 ResponseSpecification ResponseSpecificationImpl.body(String key, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
           
 ResponseSpecification ResponseSpecificationImpl.content(org.hamcrest.Matcher matcher, org.hamcrest.Matcher... additionalMatchers)
           
 ResponseSpecification ResponseSpecificationImpl.content(String key, List<Argument> arguments, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
           
 ResponseSpecification ResponseSpecificationImpl.content(String key, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
           
 ResponseSpecification ResponseSpecificationImpl.contentType(ContentType contentType)
           
 ResponseSpecification ResponseSpecificationImpl.contentType(org.hamcrest.Matcher<? super String> contentType)
           
 ResponseSpecification ResponseSpecificationImpl.contentType(String contentType)
           
 ResponseSpecification ResponseSpecificationImpl.cookie(String cookieName)
           
 ResponseSpecification ResponseSpecificationImpl.cookie(String cookieName, org.hamcrest.Matcher expectedValueMatcher)
           
 ResponseSpecification ResponseSpecificationImpl.cookie(String cookieName, Object expectedValue)
           
 ResponseSpecification ResponseLogSpecificationImpl.cookies()
           
 ResponseSpecification ResponseSpecificationImpl.cookies(Map expectedCookies)
           
 ResponseSpecification ResponseSpecificationImpl.cookies(String firstExpectedCookieName, Object firstExpectedCookieValue, Object... expectedCookieNameValuePairs)
           
 ResponseSpecification ResponseSpecificationImpl.defaultParser(Parser parser)
           
 ResponseSpecification ResponseLogSpecificationImpl.everything()
           
 ResponseSpecification ResponseLogSpecificationImpl.everything(boolean shouldPrettyPrint)
           
 ResponseSpecification RequestSpecificationImpl.expect()
           
 ResponseSpecification ResponseSpecificationImpl.expect()
           
 ResponseSpecification TestSpecificationImpl.getResponseSpecification()
           
 ResponseSpecification ResponseSpecificationImpl.header(String headerName, org.hamcrest.Matcher expectedValueMatcher)
           
 ResponseSpecification ResponseSpecificationImpl.header(String headerName, String expectedValue)
           
 ResponseSpecification ResponseLogSpecificationImpl.headers()
           
 ResponseSpecification ResponseSpecificationImpl.headers(Map expectedHeaders)
           
 ResponseSpecification ResponseSpecificationImpl.headers(String firstExpectedHeaderName, Object firstExpectedHeaderValue, Object... expectedHeaders)
           
 ResponseSpecification ResponseLogSpecificationImpl.ifError()
           
 ResponseSpecification ResponseLogSpecificationImpl.ifStatusCodeIsEqualTo(int statusCode)
           
 ResponseSpecification ResponseLogSpecificationImpl.ifStatusCodeMatches(org.hamcrest.Matcher<Integer> matcher)
           
 ResponseSpecification ResponseSpecificationImpl.parser(String contentType, Parser parser)
           
 ResponseSpecification RequestSpecificationImpl.response()
           
 ResponseSpecification ResponseSpecificationImpl.response()
           
 ResponseSpecification ResponseSpecificationImpl.root(String rootPath)
           
 ResponseSpecification ResponseSpecificationImpl.root(String rootPath, List<Argument> arguments)
           
 ResponseSpecification ResponseSpecificationImpl.rootPath(String rootPath)
           
 ResponseSpecification ResponseSpecificationImpl.rootPath(String rootPath, List<Argument> arguments)
           
 ResponseSpecification ResponseSpecificationImpl.spec(ResponseSpecification responseSpecificationToMerge)
           
 ResponseSpecification ResponseSpecificationImpl.specification(ResponseSpecification responseSpecificationToMerge)
           
 ResponseSpecification ResponseLogSpecificationImpl.status()
           
 ResponseSpecification ResponseSpecificationImpl.statusCode(int expectedStatusCode)
           
 ResponseSpecification ResponseSpecificationImpl.statusCode(org.hamcrest.Matcher<? super Integer> expectedStatusCode)
           
 ResponseSpecification ResponseSpecificationImpl.statusLine(org.hamcrest.Matcher<? super String> expectedStatusLine)
           
 ResponseSpecification ResponseSpecificationImpl.statusLine(String expectedStatusLine)
           
 ResponseSpecification ResponseSpecificationImpl.that()
           
 ResponseSpecification RequestSpecificationImpl.then()
           
 ResponseSpecification ResponseSpecificationImpl.then()
           
 ResponseSpecification ResponseSpecificationImpl.when()
           
 

Methods in com.jayway.restassured.internal with parameters of type ResponseSpecification
 void RequestSpecificationImpl.setResponseSpecification(ResponseSpecification responseSpecification)
           
 ResponseSpecification ResponseSpecificationImpl.spec(ResponseSpecification responseSpecificationToMerge)
           
 ResponseSpecification ResponseSpecificationImpl.specification(ResponseSpecification responseSpecificationToMerge)
           
 

Constructors in com.jayway.restassured.internal with parameters of type ResponseSpecification
ResponseSpecificationImpl(String bodyRootPath, Object responseContentType, ResponseSpecification defaultSpec, ResponseParserRegistrar rpr)
           
TestSpecificationImpl(RequestSpecification requestSpecification, ResponseSpecification responseSpecification)
           
 

Uses of ResponseSpecification in com.jayway.restassured.specification
 

Subinterfaces of ResponseSpecification in com.jayway.restassured.specification
 interface FilterableResponseSpecification
          A response specification that also supports getting the defined values.
 

Methods in com.jayway.restassured.specification that return ResponseSpecification
 ResponseSpecification ResponseSpecification.and()
          Syntactic sugar, e.g.
 ResponseSpecification ResponseSpecification.body(org.hamcrest.Matcher<?> matcher, org.hamcrest.Matcher<?>... additionalMatchers)
          Expect that the response body conforms to one or more Hamcrest matchers.
 ResponseSpecification ResponseSpecification.body(String key, List<Argument> arguments, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
          Same as body(String, org.hamcrest.Matcher, Object...) expect that you can pass arguments to the key.
 ResponseSpecification ResponseSpecification.body(String path, org.hamcrest.Matcher<?> matcher, Object... additionalKeyMatcherPairs)
          Expect that the JSON or XML response body conforms to one or more Hamcrest matchers.
 ResponseSpecification ResponseSpecification.content(org.hamcrest.Matcher<?> matcher, org.hamcrest.Matcher<?>... additionalMatchers)
          Expect that the response content conforms to one or more Hamcrest matchers.
 ResponseSpecification ResponseSpecification.content(String path, List<Argument> arguments, org.hamcrest.Matcher matcher, Object... additionalKeyMatcherPairs)
          Same as content(String, java.util.List, org.hamcrest.Matcher, Object...) expect that you can pass arguments to the path.
 ResponseSpecification ResponseSpecification.content(String key, org.hamcrest.Matcher<?> matcher, Object... additionalKeyMatcherPairs)
          Expect that the JSON or XML response content conforms to one or more Hamcrest matchers.
 ResponseSpecification ResponseSpecification.contentType(ContentType contentType)
          Set the response content type to be contentType.
 ResponseSpecification ResponseSpecification.contentType(org.hamcrest.Matcher<? super String> contentType)
          Expect the response content type to be contentType.
 ResponseSpecification ResponseSpecification.contentType(String contentType)
          Set the response content type to be contentType.
 ResponseSpecification ResponseSpecification.cookie(String cookieName)
          Expect that a cookie exist in the response, regardless of value (it may have no value at all).
 ResponseSpecification ResponseSpecification.cookie(String cookieName, org.hamcrest.Matcher<?> expectedValueMatcher)
          Expect that a response cookie matches the supplied cookie name and hamcrest matcher.
 ResponseSpecification ResponseSpecification.cookie(String cookieName, Object expectedValue)
          Expect that a response cookie matches the supplied name and value.
 ResponseSpecification ResponseSpecification.cookies(Map<String,?> expectedCookies)
          Expect that response cookies matches those specified in a Map.
 ResponseSpecification ResponseSpecification.cookies(String firstExpectedCookieName, Object firstExpectedCookieValue, Object... expectedCookieNameValuePairs)
          Expect that response cookies matches the supplied cookie names and values.
 ResponseSpecification ResponseSpecification.defaultParser(Parser parser)
          Register a default predefined parser that will be used if no other parser (registered or pre-defined) matches the response content-type.
 ResponseSpecification ResponseSpecification.expect()
          Syntactic sugar, e.g.
 ResponseSpecification RequestSpecification.expect()
          Returns the response specification so that you can setup the expectations on the response.
 ResponseSpecification ResponseSpecification.header(String headerName, org.hamcrest.Matcher<?> expectedValueMatcher)
          Expect that a response header matches the supplied header name and hamcrest matcher.
 ResponseSpecification ResponseSpecification.header(String headerName, String expectedValue)
          Expect that a response header matches the supplied name and value.
 ResponseSpecification ResponseSpecification.headers(Map<String,?> expectedHeaders)
          Expect that response headers matches those specified in a Map.
 ResponseSpecification ResponseSpecification.headers(String firstExpectedHeaderName, Object firstExpectedHeaderValue, Object... expectedHeaders)
          Expect that response headers matches the supplied headers and values.
 ResponseSpecification ResponseLogSpecification.ifError()
          Logs everything only if an error occurs (status code >= 400).
 ResponseSpecification ResponseLogSpecification.ifStatusCodeIsEqualTo(int statusCode)
          Logs everything only if if the status code is equal to statusCode.
 ResponseSpecification ResponseLogSpecification.ifStatusCodeMatches(org.hamcrest.Matcher<Integer> matcher)
          Logs everything only if if the status code matches the supplied matcher
 ResponseSpecification ResponseSpecification.parser(String contentType, Parser parser)
          Register a content-type to be parsed using a predefined parser.
 ResponseSpecification ResponseSpecification.response()
          Syntactic sugar, e.g.
 ResponseSpecification RequestSpecification.response()
          Returns the response specification so that you can setup the expectations on the response.
 ResponseSpecification ResponseSpecification.root(String rootPath)
          Set the root path of the response body so that you don't need to write the entire path for each expectation.
 ResponseSpecification ResponseSpecification.root(String rootPath, List<Argument> arguments)
          Set the root path with arguments of the response body so that you don't need to write the entire path for each expectation.
 ResponseSpecification ResponseSpecification.rootPath(String rootPath)
          Set the root path of the response body so that you don't need to write the entire path for each expectation.
 ResponseSpecification ResponseSpecification.rootPath(String rootPath, List<Argument> arguments)
          Set the root path with arguments of the response body so that you don't need to write the entire path for each expectation.
 ResponseSpecification ResponseSpecification.spec(ResponseSpecification responseSpecificationToMerge)
          Expect that the response matches an entire specification.
 ResponseSpecification ResponseSpecification.specification(ResponseSpecification responseSpecificationToMerge)
          Expect that the response matches an entire specification.
 ResponseSpecification ResponseLogSpecification.status()
          Logs only the status line (includes the status code)
 ResponseSpecification ResponseSpecification.statusCode(int expectedStatusCode)
          Expect that the response status code matches an integer.
 ResponseSpecification ResponseSpecification.statusCode(org.hamcrest.Matcher<? super Integer> expectedStatusCode)
          Expect that the response status code matches the given Hamcrest matcher.
 ResponseSpecification ResponseSpecification.statusLine(org.hamcrest.Matcher<? super String> expectedStatusLine)
          Expect that the response status line matches the given Hamcrest matcher.
 ResponseSpecification ResponseSpecification.statusLine(String expectedStatusLine)
          Expect that the response status line matches the given String.
 ResponseSpecification ResponseSpecification.that()
          Syntactic sugar, e.g.
 ResponseSpecification ResponseSpecification.then()
          Syntactic sugar, e.g.
 ResponseSpecification RequestSpecification.then()
          Returns the response specification so that you can setup the expectations on the response.
 ResponseSpecification ResponseSpecification.when()
          Syntactic sugar, e.g.
 

Methods in com.jayway.restassured.specification with parameters of type ResponseSpecification
 ResponseSpecification ResponseSpecification.spec(ResponseSpecification responseSpecificationToMerge)
          Expect that the response matches an entire specification.
 ResponseSpecification ResponseSpecification.specification(ResponseSpecification responseSpecificationToMerge)
          Expect that the response matches an entire specification.
 



Copyright © 2010-2012. All Rights Reserved.