java.lang.Object | |
↳ | com.pnfsoftware.jeb.client.JebNet |
Network utility routines for specific JEB client operations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JebNet() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static long |
getSupposedlyGoodEpoch(INet net)
Retrieve the timestamp provided by a well-known http server.
| ||||||||||
static String |
post(INet net, String url, String data)
Internal routine to POST a
x-www-form-urlencoded data attribute to the JPS or
the floating license controller. | ||||||||||
static String |
post(INet net, String url, String data, long[] serverTimestampArray)
Internal routine to POST a
x-www-form-urlencoded data attribute to the JPS or
the floating license controller. | ||||||||||
static String |
uploadFile(INet net, File f, boolean protectFile, String url)
Upload a sample file related to a bug report to the JEB portal for.
| ||||||||||
static String |
uploadFile(INet net, File f, boolean protectFile)
Upload a sample file related to a bug report to the JEB portal for.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Retrieve the timestamp provided by a well-known http server.
Internal routine to POST a x-www-form-urlencoded
data attribute to the JPS or
the floating license controller.
net | a network object |
---|---|
url | address url |
data | data to post; will be the value of a "data=value" pair posted to the server |
Internal routine to POST a x-www-form-urlencoded
data attribute to the JPS or
the floating license controller.
net | a network object |
---|---|
url | address url |
data | data to post; will be the value of a "data=value" pair posted to the server |
serverTimestampArray | optional, filled with the server timestamp provided in the HTTP response (epoch in ms) |
Upload a sample file related to a bug report to the JEB portal for.
url | optional; if null, the standard JEB.IO upload-sample end-point will be used |
---|
IOException |
---|
Upload a sample file related to a bug report to the JEB portal for.
IOException |
---|