|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.zion.jbuddy.bots.BotHTTPCompressionType
public class BotHTTPCompressionType
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 |
|---|
public static final BotHTTPCompressionType AUTO
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.
public static final BotHTTPCompressionType GZIP
gzip compression.
If not supported by the server, no compression will occur.
public static final BotHTTPCompressionType DEFLATE
deflate compression.
If not supported by the server, no compression will occur.
public static final BotHTTPCompressionType NONE
| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||