# Class: com.pnfsoftware.jeb.client.JebNet

Network utility routines for specific JEB client operations.

## Constructor: JebNet


## Static Method: getSupposedlyGoodEpoch
- parameter: `net`, type: `com.pnfsoftware.jeb.util.net.INet`
- return type: `long`

Description: Retrieve the timestamp provided by a well\-known http server.
parameter: net: 
return: server epoch in ms; 0 on error \(that is, Jan 1 1970\)

## Static Method: post
- parameter: `net`, type: `com.pnfsoftware.jeb.util.net.INet`
- parameter: `url`, type: `java.lang.String`
- parameter: `data`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Internal routine to POST a `x-www-form-urlencoded` data attribute to the JPS or the floating license controller.
parameter: net: a network object
parameter: url: address url
parameter: data: data to post; will be the value of a "data=value" pair posted to the server
return: the server response

## Static Method: post
- parameter: `net`, type: `com.pnfsoftware.jeb.util.net.INet`
- parameter: `url`, type: `java.lang.String`
- parameter: `data`, type: `java.lang.String`
- parameter: `serverTimestampArray`, type: `long[]`
- return type: `java.lang.String`

Description: Internal routine to POST a `x-www-form-urlencoded` data attribute to the JPS or the floating license controller.
parameter: net: a network object
parameter: url: address url
parameter: data: data to post; will be the value of a "data=value" pair posted to the server
parameter: serverTimestampArray: optional, filled with the server timestamp provided in the HTTP            response \(epoch in ms\)
return: the server response

## Static Method: uploadFile
- parameter: `net`, type: `com.pnfsoftware.jeb.util.net.INet`
- parameter: `f`, type: `java.io.File`
- parameter: `protectFile`, type: `boolean`
- return type: `java.lang.String`

Description: Upload a sample file related to a bug report to the JEB portal for.
parameter: net: 
parameter: f: 
parameter: protectFile: 
return: server response
throws: 

## Static Method: uploadFile
- parameter: `net`, type: `com.pnfsoftware.jeb.util.net.INet`
- parameter: `f`, type: `java.io.File`
- parameter: `protectFile`, type: `boolean`
- parameter: `url`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Upload a sample file related to a bug report to the JEB portal for.
parameter: net: 
parameter: f: 
parameter: protectFile: 
parameter: url: optional; if null, the standard JEB.IO upload\-sample end\-point will be used
return: server response
throws: 

