Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] spdy client

Hi, 
I'm newbie to Jetty and recently wanna try to use jetty spdy client to connect to my proxy(shrpx + squid), but when I just added StreamFrameListener codes in my activity:

##
StreamFrameListener streamListener = new StreamFrameListener.Adapter() {
  
     public void onData(Stream stream, DataInfo dataInfo)  {
         // Data received from server
         String content = dataInfo.asString("UTF-8", true);
         System.out.println("SPDY content: " + content);
     }
  };
##
the logcat returns error as:
07-21 10:39:21.466: W/dalvikvm(2214): Unable to resolve superclass of Lcom/example/ndkfoo/MainActivity$2; (848)
07-21 10:39:21.517: W/dalvikvm(2214): Link of class 'Lcom/example/ndkfoo/MainActivity$2;' failed
07-21 10:39:21.517: E/dalvikvm(2214): Could not find class 'com.example.ndkfoo.MainActivity$2', referenced from method com.example.ndkfoo.MainActivity.<init>
07-21 10:39:21.517: W/dalvikvm(2214): VFY: unable to resolve new-instance 543 (Lcom/example/ndkfoo/MainActivity$2;) in Lcom/example/ndkfoo/MainActivity;
...

Any suggestion would be appreciated.

Back to the top