Package | Description |
---|---|
com.jscape.inet.http | |
com.jscape.inet.https |
Modifier and Type | Method and Description |
---|---|
static HttpException |
HttpException.wrap(java.lang.Exception e) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
Http.getResponse(HttpFileUpload request)
Gets response to HTTP request.
|
HttpResponse |
Http.getResponse(HttpRequest request)
Gets response to HTTP request.
|
HttpResponse |
HttpSession.getResponse(HttpRequest request)
Gets response from HTTP server.
|
HttpResponse |
HttpSession.getResponse(java.lang.String url)
Gets response from HTTP server.
|
HttpResponse |
HttpSession.getResponse(java.lang.String url,
java.lang.String method)
Gets response from HTTP server.
|
HttpResponse |
Http.getResponseToFile(HttpRequest request,
java.io.File file)
Gets response to HTTP request and writes contents to file.
|
void |
HttpRequest.setBasicAuthentication(java.lang.String username,
java.lang.String password)
Sets username and password to be used in HTTP Basic Authentication.
|
void |
HttpFileUpload.setFile(java.lang.String fieldName,
java.lang.String filename,
byte[] data)
Sets the file to upload for this
HttpFileUpload . |
void |
HttpFileUpload.setFile(java.lang.String fieldName,
java.lang.String fileName,
java.io.File file)
Sets the file to upload for this
HttpFileUpload . |
void |
HttpRequest.setUserAgent(java.lang.String userAgent)
Sets the User-Agent header of a HTTP request.
|
void |
HttpFileUpload.streamFileToServer(java.lang.String fieldName,
java.lang.String fileName,
java.io.File file)
Stream file to HTTP server instead of reading entire File object in RAM.
|
Constructor and Description |
---|
HttpFileUpload(java.lang.String url)
Constructs a new
HttpFileUpload instance. |
HttpRequest(java.lang.String url)
Creates a new
HttpRequest instance using default GET request method. |
HttpRequest(java.lang.String url,
java.lang.String method)
Creates a new
HttpRequest instance. |
Modifier and Type | Method and Description |
---|---|
void |
Https.setClientCertificates(java.lang.String filename,
java.lang.String password)
Sets optional client certificate to be used during authentication.
|
void |
Https.setClientCertificates(java.lang.String filename,
java.lang.String password,
java.lang.String storetype)
Sets optional client certificate to be used during authentication.
|
void |
Https.setServerCertificates(java.lang.String filename,
java.lang.String password)
Sets optional server certificate to be used during authentication.
|
void |
Https.setServerCertificates(java.lang.String filename,
java.lang.String password,
java.lang.String storetype)
Sets optional server certificate to be used during authentication.
|
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved