com.jayway.restassured.config
Class EncoderConfig
java.lang.Object
com.jayway.restassured.config.EncoderConfig
public class EncoderConfig
- extends Object
Allows you to specify configuration for the encoder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncoderConfig
public EncoderConfig()
- Configure the encoder config to use for content encoding and .
for query parameter encoding.
EncoderConfig
public EncoderConfig(String defaultContentCharset,
String defaultQueryParameterCharset)
defaultContentCharset
public String defaultContentCharset()
defaultQueryParameterCharset
public String defaultQueryParameterCharset()
defaultContentCharset
public EncoderConfig defaultContentCharset(String charset)
defaultQueryParameterCharset
public EncoderConfig defaultQueryParameterCharset(String charset)
encoderConfig
public static EncoderConfig encoderConfig()
- Returns:
- A static way to create a new EncoderConfig instance without calling "new" explicitly. Mainly for syntactic sugar.
and
public EncoderConfig and()
- Syntactic sugar.
- Returns:
- The same encoder config instance.
Copyright © 2010-2012. All Rights Reserved.