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 Network
network()
Returns theNetwork
instance initiated this event.default int
Returns the HTTP response code.default UrlRequest
Returns the URL request associated with the response.
-
Method Details
-
network
Description copied from interface:NetworkEvent
Returns theNetwork
instance initiated this event.- Specified by:
network
in interfaceNetworkEvent
-
urlRequest
Returns the URL request associated with the response. -
responseCode
default int responseCode()Returns the HTTP response code.
-