|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ContentType | |
|---|---|
| com.jayway.restassured | |
| com.jayway.restassured.builder | |
| com.jayway.restassured.http | |
| com.jayway.restassured.internal | |
| com.jayway.restassured.specification | |
| Uses of ContentType in com.jayway.restassured |
|---|
| Methods in com.jayway.restassured with parameters of type ContentType | |
|---|---|
static void |
RestAssured.requestContentType(ContentType contentType)
Specify the default content type |
static void |
RestAssured.responseContentType(ContentType contentType)
Specify the default content type (also sets the accept header). |
| Uses of ContentType in com.jayway.restassured.builder |
|---|
| Methods in com.jayway.restassured.builder with parameters of type ContentType | |
|---|---|
ResponseSpecBuilder |
ResponseSpecBuilder.expectContentType(ContentType contentType)
Set the response content type to be contentType. |
RequestSpecBuilder |
RequestSpecBuilder.setContentType(ContentType contentType)
Specify the content type of the request. |
| Uses of ContentType in com.jayway.restassured.http |
|---|
| Methods in com.jayway.restassured.http that return ContentType | |
|---|---|
static ContentType |
ContentType.fromContentType(String contentType)
|
static ContentType |
ContentType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ContentType[] |
ContentType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Uses of ContentType in com.jayway.restassured.internal |
|---|
| Methods in com.jayway.restassured.internal with parameters of type ContentType | |
|---|---|
RequestSpecification |
RequestSpecificationImpl.contentType(ContentType contentType)
|
ResponseSpecification |
ResponseSpecificationImpl.contentType(ContentType contentType)
|
| Uses of ContentType in com.jayway.restassured.specification |
|---|
| Methods in com.jayway.restassured.specification with parameters of type ContentType | |
|---|---|
ResponseSpecification |
ResponseSpecification.contentType(ContentType contentType)
Set the response content type to be contentType. |
RequestSpecification |
RequestSpecification.contentType(ContentType contentType)
Specify the content type of the request. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||