Package com.teamdev.jxbrowser.net.event
Interface ResponseBytesReceived
- All Superinterfaces:
Event,NetworkEvent
An event indicating that a part of HTTP response body has been received over the network.
- Since:
- 7.1
-
Method Summary
Modifier and TypeMethodDescriptioncharset()Returns anOptionalthat contains the charset in lower case retrieved from the HTTP response headers of this request or an emptyOptionalif the received headers do not include any information about the charset.default byte[]data()Returns the received part of HTTP response body.mimeType()Returns anOptionalthat contains the MIME type value retrieved from theContent-Typeheader of this request or an emptyOptionalif there is no MIME type.default Networknetwork()Returns theNetworkinstance initiated this event.default UrlRequestReturns the URL request associated with the response.
-
Method Details
-
network
Description copied from interface:NetworkEventReturns theNetworkinstance initiated this event.- Specified by:
networkin interfaceNetworkEvent
-
urlRequest
Returns the URL request associated with the response. -
mimeType
Returns anOptionalthat contains the MIME type value retrieved from theContent-Typeheader of this request or an emptyOptionalif there is no MIME type. -
charset
Returns anOptionalthat contains the charset in lower case retrieved from the HTTP response headers of this request or an emptyOptionalif the received headers do not include any information about the charset. -
data
default byte[] data()Returns the received part of HTTP response body.
-