| Modifier and Type | Field and Description |
|---|---|
int |
chunkSize
size of http chunks to be written, if <=0 no chunks
TODO make private in a while
|
static int |
defaultChunkSize
the default chnk size; -1= don't chunk
|
| Constructor and Description |
|---|
UrlUtil.HTTPDetails() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(HttpURLConnection urlCon)
apply these details to the connection specified
|
int |
getChunkSize()
Getter for chunkSize attribute.
|
boolean |
isbKeepAlive()
Getter for bKeepAlive attribute.
|
void |
setbKeepAlive(boolean bKeepAlive)
Setter for bKeepAlive attribute.
|
void |
setChunkSize(int chunkSize)
Setter for chunkSize attribute.
|
String |
toString() |
public int chunkSize
public static int defaultChunkSize
public int getChunkSize()
public void setChunkSize(int chunkSize)
chunkSize - the chunkSize to setpublic boolean isbKeepAlive()
public void setbKeepAlive(boolean bKeepAlive)
bKeepAlive - the bKeepAlive to setpublic void applyTo(HttpURLConnection urlCon)
urlCon - public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.