groovyx.net.http
Class ContentEncodingRegistry
java.lang.Object
groovyx.net.http.ContentEncodingRegistry
public class ContentEncodingRegistry
- extends Object
Keeps track of available content-encoding handlers.
- Author:
- Tom Nichols
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
availableEncoders
protected Map<String,ContentEncoding> availableEncoders
ContentEncodingRegistry
public ContentEncodingRegistry()
getDefaultEncoders
protected Map<String,ContentEncoding> getDefaultEncoders()
- This implementation adds a
GZIPEncoding
and DeflateEncoding
handler to the registry. Override this method to provide a different set
of defaults.
- Returns:
- a map to content-encoding strings to
ContentEncoding
handlers.
Copyright © 2008-2012. All Rights Reserved.