Package com.teamdev.jxbrowser.net.event
Interface ResponseStarted
- All Superinterfaces:
Event,NetworkEvent
An event indicating that the first byte of the URL response body has been received. For HTTP
requests, this means that the status line and the response headers are available.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Networknetwork()Returns theNetworkinstance initiated this event.default intReturns the HTTP response code.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. -
responseCode
default int responseCode()Returns the HTTP response code.
-