org.mobicents.slee.resource.xcapclient.handler
Class AsyncPutByteArrayContentHandler

java.lang.Object
  extended by org.mobicents.slee.resource.xcapclient.handler.AbstractAsyncHandler
      extended by org.mobicents.slee.resource.xcapclient.handler.AsyncPutByteArrayContentHandler
All Implemented Interfaces:
java.lang.Runnable

public class AsyncPutByteArrayContentHandler
extends AbstractAsyncHandler

Handles an async put request, using byte array content.

Author:
emmartins

Field Summary
protected  byte[] content
           
protected  java.lang.String mimetype
           
 
Fields inherited from class org.mobicents.slee.resource.xcapclient.handler.AbstractAsyncHandler
handle, key, ra
 
Constructor Summary
AsyncPutByteArrayContentHandler(XCAPClientResourceAdaptor ra, org.mobicents.slee.resource.xcapclient.XCAPResourceAdaptorActivityHandle handle, org.openxdm.xcap.common.key.XcapUriKey key, java.lang.String mimetype, byte[] content)
           
 
Method Summary
protected  org.openxdm.xcap.client.Response doRequest()
          To be implemented by concrete handler, sends the request to the XCAP and processes response.
 
Methods inherited from class org.mobicents.slee.resource.xcapclient.handler.AbstractAsyncHandler
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mimetype

protected java.lang.String mimetype

content

protected byte[] content
Constructor Detail

AsyncPutByteArrayContentHandler

public AsyncPutByteArrayContentHandler(XCAPClientResourceAdaptor ra,
                                       org.mobicents.slee.resource.xcapclient.XCAPResourceAdaptorActivityHandle handle,
                                       org.openxdm.xcap.common.key.XcapUriKey key,
                                       java.lang.String mimetype,
                                       byte[] content)
Method Detail

doRequest

protected org.openxdm.xcap.client.Response doRequest()
                                              throws java.lang.Exception
Description copied from class: AbstractAsyncHandler
To be implemented by concrete handler, sends the request to the XCAP and processes response.

Specified by:
doRequest in class AbstractAsyncHandler
Returns:
Throws:
java.io.IOException
java.lang.Exception


Copyright © 2009. All Rights Reserved.