| Package | Description |
|---|---|
| org.exoplatform.common.http.client |
| Modifier and Type | Field and Description |
|---|---|
protected HTTPResponse |
HttpURLConnection.resp
the response
|
| Modifier and Type | Method and Description |
|---|---|
HTTPResponse |
HTTPConnection.Copy(String source,
String destination)
Copy resource or colleaction to URL spesified in
destination
parameter. |
HTTPResponse |
HTTPConnection.Copy(String source,
String destination,
boolean override,
boolean norecursive)
Copy resource or colleaction to URL spesified in
destination
parameter. |
HTTPResponse |
HTTPConnection.Delete(String file)
Requests that file be DELETEd from the server.
|
HTTPResponse |
HTTPConnection.Delete(String file,
NVPair[] headers)
Requests that file be DELETEd from the server.
|
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
byte[] data,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent.
|
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
HttpOutputStream os,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent.
|
HTTPResponse |
HTTPConnection.Get(String file)
GETs the file.
|
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data)
GETs the file with a query consisting of the specified form-data.
|
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data,
NVPair[] headers)
GETs the file with a query consisting of the specified form-data.
|
HTTPResponse |
HTTPConnection.Get(String file,
String query)
Deprecated.
|
HTTPResponse |
HTTPConnection.Get(String file,
String query,
NVPair[] headers)
Deprecated.
|
HTTPResponse |
HTTPConnection.Head(String file)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data,
NVPair[] headers)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
String query)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Head(String file,
String query,
NVPair[] headers)
Sends the HEAD request.
|
HTTPResponse |
HTTPConnection.Lock(String resource,
boolean isExclusive,
boolean isRecursive,
long timeout)
LOCK request
|
HTTPResponse |
HTTPConnection.Lock(String resource,
long timeout,
String lockToken)
Refresh LOCK request.
|
HTTPResponse |
HTTPConnection.MkCol(String resource)
Create new Collection.
|
HTTPResponse |
HTTPConnection.Move(String source,
String destination)
Move resource or colleaction to URL spesified in
destination
parameter. |
HTTPResponse |
HTTPConnection.Move(String source,
String destination,
boolean override)
Move resource or colleaction to URL spesified in
destination
parameter. |
HTTPResponse |
HTTPConnection.Options(String file)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
byte[] data)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
HttpOutputStream stream)
Request OPTIONS from the server.
|
HTTPResponse |
HTTPConnection.Post(String file)
POSTs to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data)
POSTs the raw data to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data,
NVPair[] headers)
POSTs the raw data to the specified file using the specified headers.
|
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream)
POSTs the data written to the output stream to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream,
NVPair[] headers)
POSTs the data written to the output stream to the specified file using the
specified headers.
|
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data)
POSTs form-data to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data,
NVPair[] headers)
POST's form-data to the specified file using the specified headers.
|
HTTPResponse |
HTTPConnection.Post(String file,
String data)
POSTs the data to the specified file.
|
HTTPResponse |
HTTPConnection.Post(String file,
String data,
NVPair[] headers)
POSTs the data to the specified file using the specified headers.
|
HTTPResponse |
HTTPConnection.Propfind(String resource,
List<String> props)
PROPFIND prop request with 'Depth' header specified as 'infinity'.
|
HTTPResponse |
HTTPConnection.Propfind(String resource,
List<String> props,
int depth)
PROPFIND prop request.
|
HTTPResponse |
HTTPConnection.PropfindAllprop(String resource)
PROPFIND allprop request with 'Depth' header specified as 'infinity'.
|
HTTPResponse |
HTTPConnection.PropfindAllprop(String resource,
int depth)
PROPFIND allprop request with 'Depth' header specified as 'infinity'.
|
HTTPResponse |
HTTPConnection.PropfindPropname(String resource)
PROPFIND propname request with 'Depth' header specified as 'infinity'.
|
HTTPResponse |
HTTPConnection.PropfindPropname(String resource,
int depth)
PROPFIND propname request.
|
HTTPResponse |
HTTPConnection.Proppath(String resource,
Map<String,List<String>> propsSet,
List<String> propsRemove)
PROPPATCH request.
|
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data)
PUTs the raw data into the specified file.
|
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data,
NVPair[] headers)
PUTs the raw data into the specified file using the additional headers.
|
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream)
PUTs the data written to the output stream into the specified file.
|
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream,
NVPair[] headers)
PUTs the data written to the output stream into the specified file using
the additional headers.
|
HTTPResponse |
HTTPConnection.Put(String file,
String data)
PUTs the data into the specified file.
|
HTTPResponse |
HTTPConnection.Put(String file,
String data,
NVPair[] headers)
PUTs the data into the specified file using the additional headers for the
request.
|
protected HTTPResponse |
HTTPConnection.setupRequest(String method,
String resource,
NVPair[] headers,
byte[] entity,
HttpOutputStream stream)
Sets up the request, creating the list of headers to send and creating
instances of the modules.
|
HTTPResponse |
HTTPConnection.Trace(String file)
Requests a TRACE.
|
HTTPResponse |
HTTPConnection.Trace(String file,
NVPair[] headers)
Requests a TRACE.
|
HTTPResponse |
HTTPConnection.Unlock(String resource,
String lockToken)
Refresh LOCK request.
|
Copyright © 2018 eXo Platform SAS. All Rights Reserved.