Method, device and terminal for monitoring network request
The embodiment of the invention provides a method, device and terminal for monitoring a network request. The method comprises the steps of: when a network request is carried out by utilization of a network request plug-in corresponding to a network request library, setting a network interceptor for...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a method, device and terminal for monitoring a network request. The method comprises the steps of: when a network request is carried out by utilization of a network request plug-in corresponding to a network request library, setting a network interceptor for a builder of a client object corresponding to the network request library, wherein the client objectis used for calling the network request plug-in to perform the network request; monitoring the network request by utilizing the network interceptor, so that monitoring data is obtained; and, judgingwhether the network request is reasonable or not according to the monitoring data, and, if the fact that the network request is not reasonable is determined, intercepting the network request. Thereby,whether the corresponding network request is reasonable or not can be judged according to the obtained monitoring data; if the network request is not reasonable, the corresponding network request canbe intercepted; therefore, |
---|