| Package | Description |
|---|---|
| com.teamdev.jxbrowser.net |
Contains classes and interfaces for working with network.
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
ContentType.Builder.build()
Returns a new
ContentType instance built from the current state of this builder. |
default ContentType |
TextData.contentType() |
default ContentType |
ByteData.contentType() |
default ContentType |
UploadData.contentType()
Returns the content type of this upload data as specified in the
Content-Type header. |
default ContentType |
FormData.contentType() |
default ContentType |
MultipartFormData.contentType() |
| Modifier and Type | Method and Description |
|---|---|
static ByteData |
ByteData.of(byte[] data,
ContentType contentType)
Creates an instance of
ByteData with the given upload data bytes and content type. |
static ByteData |
ByteData.of(java.lang.String data,
ContentType contentType)
Creates an instance of
ByteData with the given upload data bytes and content type. |