SHOW:
|
|
- or go back to the newest paste.
| 1 | - | /lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-31 : Field remove has different type than in java.util.Collection |
| 1 | + | ./lib/red5hx/org/apache/http/protocol/BasicHttpProcessor.hx:17: lines 17-65 : |
| 2 | - | ./lib/red5hx/java/util/concurrent/BlockingQueue.hx:8: lines 8-31 : Void -> java.util.concurrent.BlockingQueue.E should be arg0 : Dynamic -> Bool |
| 2 | + | Field process has different type than in org.apache.http.HttpRequestInterceptor |
| 3 | - | ./lib/red5hx/java/util/Queue.hx:6: lines 6-20 : Field remove has different type than in java.util.Collection |
| 3 | + | |
| 4 | - | ./lib/red5hx/java/util/Queue.hx:6: lines 6-20 : Void -> java.util.Queue.E should be arg0 : Dynamic -> Bool |
| 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 | - | package java.util; |
| 6 | + | |
| 7 | //-------------------------------------------------------------------------- | |
| 8 | - | import java.util.Collection; |
| 8 | + | package org.apache.http; |
| 9 | ||
| 10 | - | @:native("java.util.Queue")
|
| 10 | + | import org.apache.http.HttpRequest; |
| 11 | - | extern interface Queue<E : (Dynamic)> implements Collection<E> |
| 11 | + | import org.apache.http.protocol.HttpContext; |
| 12 | ||
| 13 | - | function add(arg0:E):Bool; |
| 13 | + | @:native("org.apache.http.HttpRequestInterceptor")
|
| 14 | extern interface HttpRequestInterceptor | |
| 15 | - | function element():E; |
| 15 | + | |
| 16 | function process(arg0:HttpRequest, arg1:HttpContext):Void; | |
| 17 | - | function offer(arg0:E):Bool; |
| 17 | + | |
| 18 | } | |
| 19 | - | function peek():E; |
| 19 | + | |
| 20 | package org.apache.http.protocol; | |
| 21 | - | function poll():E; |
| 21 | + | |
| 22 | import java.lang.Class; | |
| 23 | - | function remove():E; |
| 23 | + | import java.lang.Cloneable; |
| 24 | import java.lang.Object; | |
| 25 | import java.util.List; | |
| 26 | import org.apache.http.HttpRequest; | |
| 27 | - | package java.util; |
| 27 | + | import org.apache.http.HttpRequestInterceptor; |
| 28 | import org.apache.http.HttpResponse; | |
| 29 | - | import java.NativeArray; |
| 29 | + | import org.apache.http.HttpResponseInterceptor; |
| 30 | - | import java.lang.Iterable; |
| 30 | + | import org.apache.http.protocol.HttpContext; |
| 31 | - | import java.util.Iterator; |
| 31 | + | import org.apache.http.protocol.HttpProcessor; |
| 32 | import org.apache.http.protocol.HttpRequestInterceptorList; | |
| 33 | - | @:native("java.util.Collection")
|
| 33 | + | import org.apache.http.protocol.HttpResponseInterceptorList; |
| 34 | - | extern interface Collection<E : (Dynamic)> implements java.lang.Iterable<E> |
| 34 | + | |
| 35 | @:native("org.apache.http.protocol.BasicHttpProcessor") @:final
| |
| 36 | - | function add(arg0:E):Bool; |
| 36 | + | extern class BasicHttpProcessor extends Object, implements HttpProcessor, implements HttpRequestInterceptorList, implements HttpResponseInterceptorList, implements Cloneable |
| 37 | {
| |
| 38 | - | function addAll(arg0:Collection<E>):Bool; |
| 38 | + | public static var requestInterceptors:List<Dynamic>; |
| 39 | ||
| 40 | - | function clear():Void; |
| 40 | + | public static var responseInterceptors:List<Dynamic>; |
| 41 | ||
| 42 | - | function contains(arg0:Dynamic):Bool; |
| 42 | + | public function new():Void; |
| 43 | ||
| 44 | - | function containsAll(arg0:Collection<Dynamic>):Bool; |
| 44 | + | @:overload(function addInterceptor(arg0:HttpRequestInterceptor, arg1:Int):Void {})
|
| 45 | @:overload(function addInterceptor(arg0:HttpResponseInterceptor, arg1:Int):Void {})
| |
| 46 | - | function equals(arg0:Dynamic):Bool; |
| 46 | + | @:overload(function addInterceptor(arg0:HttpRequestInterceptor):Void {})
|
| 47 | public function addInterceptor(arg0:HttpResponseInterceptor):Void; | |
| 48 | - | function hashCode():Int; |
| 48 | + | |
| 49 | @:overload(function addRequestInterceptor(arg0:HttpRequestInterceptor, arg1:Int):Void {})
| |
| 50 | - | function isEmpty():Bool; |
| 50 | + | public function addRequestInterceptor(arg0:HttpRequestInterceptor):Void; |
| 51 | ||
| 52 | - | function iterator():java.util.Iterator<E>; |
| 52 | + | @:overload(function addResponseInterceptor(arg0:HttpResponseInterceptor, arg1:Int):Void {})
|
| 53 | public function addResponseInterceptor(arg0:HttpResponseInterceptor):Void; | |
| 54 | - | function remove(arg0:Dynamic):Bool; |
| 54 | + | |
| 55 | public function clearInterceptors():Void; | |
| 56 | - | function removeAll(arg0:Collection<Dynamic>):Bool; |
| 56 | + | |
| 57 | public function clearRequestInterceptors():Void; | |
| 58 | - | function retainAll(arg0:Collection<Dynamic>):Bool; |
| 58 | + | |
| 59 | public function clearResponseInterceptors():Void; | |
| 60 | - | function size():Int; |
| 60 | + | |
| 61 | override public function clone():Dynamic; | |
| 62 | - | @:overload(function toArray<T>(arg0:NativeArray<T>):NativeArray<T> {})
|
| 62 | + | |
| 63 | - | function toArray():NativeArray<Dynamic>; |
| 63 | + | public function copy():BasicHttpProcessor; |
| 64 | ||
| 65 | private function copyInterceptors(arg0:BasicHttpProcessor):Void; | |
| 66 | ||
| 67 | public function getRequestInterceptor(arg0:Int):HttpRequestInterceptor; | |
| 68 | ||
| 69 | - | //--------------------------------------------------------------------------- |
| 69 | + | public function getRequestInterceptorCount():Int; |
| 70 | - | package java.util.concurrent; |
| 70 | + | |
| 71 | public function getResponseInterceptor(arg0:Int):HttpResponseInterceptor; | |
| 72 | - | import java.util.Collection; |
| 72 | + | |
| 73 | - | import java.util.Queue; |
| 73 | + | public function getResponseInterceptorCount():Int; |
| 74 | - | import java.util.concurrent.TimeUnit; |
| 74 | + | |
| 75 | @:overload(function process(arg0:HttpRequest, arg1:HttpContext):Void {})
| |
| 76 | - | @:native("java.util.concurrent.BlockingQueue")
|
| 76 | + | public function process(arg0:HttpResponse, arg1:HttpContext):Void; |
| 77 | - | extern interface BlockingQueue<E : (Dynamic)> implements Queue<E> |
| 77 | + | |
| 78 | public function removeRequestInterceptorByClass(arg0:Class<Dynamic>):Void; | |
| 79 | - | function add(arg0:E):Bool; |
| 79 | + | |
| 80 | public function removeResponseInterceptorByClass(arg0:Class<Dynamic>):Void; | |
| 81 | - | function contains(arg0:Dynamic):Bool; |
| 81 | + | |
| 82 | public function setInterceptors(arg0:List<Dynamic>):Void; | |
| 83 | - | @:overload(function drainTo(arg0:Collection<Dynamic>, arg1:Int):Int {})
|
| 83 | + | |
| 84 | - | function drainTo(arg0:Collection<Dynamic>):Int; |
| 84 | + |