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