com.jayway.restassured.specification
Interface FilterableRequestSpecification

All Superinterfaces:
RequestSender, RequestSpecification
All Known Implementing Classes:
RequestSpecificationImpl

public interface FilterableRequestSpecification
extends RequestSpecification

A request specification that also supports getting the defined values. Intended for Filters.


Method Summary
 AuthenticationScheme getAuthenticationScheme()
           
 String getBasePath()
           
 String getBaseUri()
           
<T> T
getBody()
           
 RestAssuredConfig getConfig()
           
 Cookies getCookies()
           
 List<Filter> getDefinedFilters()
           
 Map<String,?> getFormParams()
           
 Headers getHeaders()
           
 Map<String,?> getPathParams()
           
 int getPort()
           
 Map<String,?> getQueryParams()
           
 String getRequestContentType()
           
 Map<String,?> getRequestParams()
           
 
Methods inherited from interface com.jayway.restassured.specification.RequestSpecification
and, auth, authentication, body, body, body, body, config, content, content, content, content, contentType, contentType, cookie, cookie, cookie, cookies, cookies, cookies, expect, filter, filters, filters, formParam, formParam, formParameter, formParameter, formParameters, formParameters, formParams, formParams, given, header, header, headers, headers, headers, keystore, keystore, log, multiPart, multiPart, multiPart, multiPart, multiPart, multiPart, multiPart, multiPart, multiPart, multiPart, multiPart, noFilters, noFiltersOfType, param, param, parameter, parameter, parameters, parameters, params, params, pathParam, pathParameter, pathParameters, pathParameters, pathParams, pathParams, port, queryParam, queryParam, queryParameter, queryParameter, queryParameters, queryParameters, queryParams, queryParams, redirects, request, response, sessionId, sessionId, spec, specification, that, then, urlEncodingEnabled, when, with
 
Methods inherited from interface com.jayway.restassured.specification.RequestSender
delete, delete, get, get, head, head, post, post, put, put
 

Method Detail

getBaseUri

String getBaseUri()
Returns:
The base URI defined in the request specification

getBasePath

String getBasePath()
Returns:
The base path defined in the request specification

getPort

int getPort()
Returns:
The port defined in the request specification

getRequestContentType

String getRequestContentType()
Returns:
The request content type defined in the request specification

getAuthenticationScheme

AuthenticationScheme getAuthenticationScheme()
Returns:
The authentication scheme defined in the request specification

getRequestParams

Map<String,?> getRequestParams()
Returns:
The request parameters defined in the request specification

getFormParams

Map<String,?> getFormParams()
Returns:
The form parameters defined in the request specification

getPathParams

Map<String,?> getPathParams()
Returns:
The (named) path parameters defined in the request specification

getQueryParams

Map<String,?> getQueryParams()
Returns:
The query parameters defined in the request specification

getHeaders

Headers getHeaders()
Returns:
The headers defined in the request specification

getCookies

Cookies getCookies()
Returns:
The cookies defined in the request specification

getBody

<T> T getBody()
Returns:
The request body

getDefinedFilters

List<Filter> getDefinedFilters()
Returns:
The filters (unmodifiable)

getConfig

RestAssuredConfig getConfig()
Returns:
The Rest Assured configurations


Copyright © 2010-2012. All Rights Reserved.