playn.flash
Class FlashNet

java.lang.Object
  extended by playn.core.NetImpl
      extended by playn.flash.FlashNet
All Implemented Interfaces:
Net

public class FlashNet
extends NetImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class playn.core.NetImpl
NetImpl.BinaryResponse, NetImpl.BuilderImpl, NetImpl.Header, NetImpl.ResponseImpl, NetImpl.StringResponse
 
Nested classes/interfaces inherited from interface playn.core.Net
Net.Builder, Net.HttpException, Net.Response, Net.WebSocket
 
Field Summary
 
Fields inherited from class playn.core.NetImpl
platform, UTF8
 
Constructor Summary
FlashNet(FlashPlatform platform)
           
 
Method Summary
 void get(String url, Callback<String> callback)
           
 void post(String url, String data, Callback<String> callback)
           
 
Methods inherited from class playn.core.NetImpl
createWebSocket, execute, req
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashNet

public FlashNet(FlashPlatform platform)
Method Detail

get

public void get(String url,
                Callback<String> callback)
Specified by:
get in interface Net
Overrides:
get in class NetImpl

post

public void post(String url,
                 String data,
                 Callback<String> callback)
Specified by:
post in interface Net
Overrides:
post in class NetImpl


Copyright © 2013. All Rights Reserved.