com.zion.jbuddy.bots
Class BotHTTPCompressionType

java.lang.Object
  extended by com.zion.jbuddy.bots.BotHTTPCompressionType

public class BotHTTPCompressionType
extends Object

Available HTTP compression types.

Compression is used with HTTP to increase performance and lower bandwidth usage by compressing content.


Field Summary
static BotHTTPCompressionType AUTO
          Uses gzip (preferred) or deflate compression.
static BotHTTPCompressionType DEFLATE
          Uses deflate compression.
static BotHTTPCompressionType GZIP
          Uses gzip compression.
static BotHTTPCompressionType NONE
          No compression will occur.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTO

public static final BotHTTPCompressionType AUTO
Uses gzip (preferred) or deflate compression.

If gzip is not supported by the server, and deflate is supported, deflate will be used. If neither type is supported, no compression will occur.

This is the default value.


GZIP

public static final BotHTTPCompressionType GZIP
Uses gzip compression.

If not supported by the server, no compression will occur.


DEFLATE

public static final BotHTTPCompressionType DEFLATE
Uses deflate compression.

If not supported by the server, no compression will occur.


NONE

public static final BotHTTPCompressionType NONE
No compression will occur.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.