Exemplo n.º 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);
     }
   }
 }
Exemplo n.º 2
0
 public NSProxy(Context context, List<Spoof> spoofs) {
   this.spoofs = spoofs;
   for (Spoof spoof : this.spoofs) {
     spoof.transientInit(context);
   }
 }
Exemplo n.º 3
0
 private void manipulateRequest(HttpRequest request) {
   for (Spoof spoof : spoofs) spoof.modifyRequest(request);
 }