jan_flanders

Untitled

Apr 29th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./lib/red5hx/org/apache/http/protocol/BasicHttpProcessor.hx:17: lines 17-65 :
  2. Field process has different type than in org.apache.http.HttpRequestInterceptor
  3.  
  4. ./lib/red5hx/org/apache/http/protocol/BasicHttpProcessor.hx:17: lines 17-65 :
  5. org.apache.http.HttpResponse should be org.apache.http.HttpRequest
  6.  
  7. //--------------------------------------------------------------------------
  8. package org.apache.http;
  9.  
  10. import org.apache.http.HttpRequest;
  11. import org.apache.http.protocol.HttpContext;
  12.  
  13. @:native("org.apache.http.HttpRequestInterceptor")
  14. extern interface HttpRequestInterceptor
  15. {
  16.     function process(arg0:HttpRequest, arg1:HttpContext):Void;
  17.  
  18. }
  19. //--------------------------------------------------------------------------
  20. package org.apache.http.protocol;
  21.  
  22. import java.lang.Class;
  23. import java.lang.Cloneable;
  24. import java.lang.Object;
  25. import java.util.List;
  26. import org.apache.http.HttpRequest;
  27. import org.apache.http.HttpRequestInterceptor;
  28. import org.apache.http.HttpResponse;
  29. import org.apache.http.HttpResponseInterceptor;
  30. import org.apache.http.protocol.HttpContext;
  31. import org.apache.http.protocol.HttpProcessor;
  32. import org.apache.http.protocol.HttpRequestInterceptorList;
  33. import org.apache.http.protocol.HttpResponseInterceptorList;
  34.  
  35. @:native("org.apache.http.protocol.BasicHttpProcessor") @:final
  36. extern class BasicHttpProcessor extends Object, implements HttpProcessor, implements HttpRequestInterceptorList, implements HttpResponseInterceptorList, implements Cloneable
  37. {
  38.     public static var requestInterceptors:List<Dynamic>;
  39.  
  40.     public static var responseInterceptors:List<Dynamic>;
  41.  
  42.     public function new():Void;
  43.  
  44.     @:overload(function addInterceptor(arg0:HttpRequestInterceptor, arg1:Int):Void {})
  45.     @:overload(function addInterceptor(arg0:HttpResponseInterceptor, arg1:Int):Void {})
  46.     @:overload(function addInterceptor(arg0:HttpRequestInterceptor):Void {})
  47.     public function addInterceptor(arg0:HttpResponseInterceptor):Void;
  48.  
  49.     @:overload(function addRequestInterceptor(arg0:HttpRequestInterceptor, arg1:Int):Void {})
  50.     public function addRequestInterceptor(arg0:HttpRequestInterceptor):Void;
  51.  
  52.     @:overload(function addResponseInterceptor(arg0:HttpResponseInterceptor, arg1:Int):Void {})
  53.     public function addResponseInterceptor(arg0:HttpResponseInterceptor):Void;
  54.  
  55.     public function clearInterceptors():Void;
  56.  
  57.     public function clearRequestInterceptors():Void;
  58.  
  59.     public function clearResponseInterceptors():Void;
  60.  
  61.     override public function clone():Dynamic;
  62.  
  63.     public function copy():BasicHttpProcessor;
  64.  
  65.     private function copyInterceptors(arg0:BasicHttpProcessor):Void;
  66.  
  67.     public function getRequestInterceptor(arg0:Int):HttpRequestInterceptor;
  68.  
  69.     public function getRequestInterceptorCount():Int;
  70.  
  71.     public function getResponseInterceptor(arg0:Int):HttpResponseInterceptor;
  72.  
  73.     public function getResponseInterceptorCount():Int;
  74.  
  75.     @:overload(function process(arg0:HttpRequest, arg1:HttpContext):Void {})
  76.     public function process(arg0:HttpResponse, arg1:HttpContext):Void;
  77.  
  78.     public function removeRequestInterceptorByClass(arg0:Class<Dynamic>):Void;
  79.  
  80.     public function removeResponseInterceptorByClass(arg0:Class<Dynamic>):Void;
  81.  
  82.     public function setInterceptors(arg0:List<Dynamic>):Void;
  83.  
  84. }
Advertisement
Add Comment
Please, Sign In to add comment