Constructor and Description |
---|
Http.Options() |
Modifier and Type | Method and Description |
---|---|
void |
addFilePart(String name,
String fileName,
byte[] value,
String contentType,
String charSet) |
void |
addHeader(String name,
String value) |
void |
addPart(String name,
String value) |
Http.Auth |
getAuth() |
Http.Body |
getBody() |
javax.servlet.http.Cookie[] |
getCookies() |
List<Http.FilePart> |
getFileParts() |
Map<String,String> |
getHeaders() |
String |
getLocation() |
Http.Method |
getMethod() |
Map<String,String> |
getParts() |
Http.Response |
getResponse() |
boolean |
isDelete() |
boolean |
isFollowRedirects() |
boolean |
isGet() |
boolean |
isHead() |
boolean |
isPost() |
boolean |
isPut() |
void |
setAuth(Http.Auth auth) |
void |
setAuth(String host,
int port,
String realm,
String username,
String password) |
void |
setBody(Http.Body body) |
void |
setBody(String content,
String contentType,
String charset) |
void |
setCookies(javax.servlet.http.Cookie[] cookies) |
void |
setDelete(boolean delete) |
void |
setFileParts(List<Http.FilePart> fileParts) |
void |
setFollowRedirects(boolean followRedirects) |
void |
setHead(boolean head) |
void |
setHeaders(Map<String,String> headers) |
void |
setLocation(String location) |
void |
setParts(Map<String,String> parts) |
void |
setPost(boolean post) |
void |
setPut(boolean put) |
void |
setResponse(Http.Response response) |
public void addFilePart(String name, String fileName, byte[] value, String contentType, String charSet)
public Http.Auth getAuth()
public Http.Body getBody()
public javax.servlet.http.Cookie[] getCookies()
public List<Http.FilePart> getFileParts()
public String getLocation()
public Http.Method getMethod()
public Http.Response getResponse()
public boolean isDelete()
public boolean isFollowRedirects()
public boolean isGet()
public boolean isHead()
public boolean isPost()
public boolean isPut()
public void setAuth(Http.Auth auth)
public void setBody(Http.Body body)
public void setCookies(javax.servlet.http.Cookie[] cookies)
public void setDelete(boolean delete)
public void setFileParts(List<Http.FilePart> fileParts)
public void setFollowRedirects(boolean followRedirects)
public void setHead(boolean head)
public void setLocation(String location)
public void setPost(boolean post)
public void setPut(boolean put)
public void setResponse(Http.Response response)