예제 #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);
 }