| Modifier and Type | Field and Description |
|---|---|
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.
|
int |
getRedirect() |
static UrlUtil.HTTPDetails |
getRedirect(UrlUtil.HTTPDetails details)
get a redirect incremented by 1, if null create o defaut first
|
boolean |
isbKeepAlive()
Getter for bKeepAlive attribute.
|
void |
setbKeepAlive(boolean bKeepAlive)
Setter for bKeepAlive attribute.
|
void |
setChunkSize(int chunkSize)
Setter for chunkSize attribute.
|
void |
setRedirect(int redirect) |
String |
toString() |
public static int defaultChunkSize
public int getRedirect()
public void setRedirect(int redirect)
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 static UrlUtil.HTTPDetails getRedirect(UrlUtil.HTTPDetails details)
details - Copyright © 2015. All rights reserved.