示例#1
0
 private void manipulateResponse(HttpResponse response, HttpRequest request) {
   for (Spoof spoof : spoofs) {
     try {
       spoof.modifyResponse(response, request);
     } catch (Exception e) {
       Log.w(TAG, "Manipulate failed", e);
     }
   }
 }
示例#2
0
 public NSProxy(Context context, List<Spoof> spoofs) {
   this.spoofs = spoofs;
   for (Spoof spoof : this.spoofs) {
     spoof.transientInit(context);
   }
 }
示例#3
0
 private void manipulateRequest(HttpRequest request) {
   for (Spoof spoof : spoofs) spoof.modifyRequest(request);
 }