com.jayway.restassured.specification
Interface LogSpecification<T extends RequestSender>

All Known Subinterfaces:
RequestLogSpecification, ResponseLogSpecification
All Known Implementing Classes:
RequestLogSpecificationImpl, ResponseLogSpecificationImpl

public interface LogSpecification<T extends RequestSender>

Base interface for request- and response log specifications.


Method Summary
 T all()
          Logs everything in the specification, including e.g.
 T body()
          Logs only the content of the body.
 T cookies()
          Logs only the cookies.
 T everything()
          Logs everything in the specification, including e.g.
 T headers()
          Logs only the headers.
 

Method Detail

body

T body()
Logs only the content of the body.

Returns:
The specification

all

T all()
Logs everything in the specification, including e.g. headers, cookies, body.

Returns:
The specification

everything

T everything()
Logs everything in the specification, including e.g. headers, cookies, body.

Returns:
The specification

headers

T headers()
Logs only the headers.

Returns:
The specification

cookies

T cookies()
Logs only the cookies.

Returns:
The specification


Copyright © 2010-2011. All Rights Reserved.