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

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

public class AsyncPutStringContentHandler
extends AbstractAsyncHandler

Handles an async put request, using String content.

Author:
emmartins

Field Summary
protected  java.lang.String content
           
protected  java.lang.String mimetype
           
 
Fields inherited from class org.mobicents.slee.resource.xcapclient.handler.AbstractAsyncHandler
additionalRequestHeaders, credentials, eventType, handle, ra, uri
 
Constructor Summary
AsyncPutStringContentHandler(XCAPClientResourceAdaptor ra, XCAPResourceAdaptorActivityHandle handle, java.net.URI uri, java.lang.String mimetype, java.lang.String content, Header[] additionalRequestHeaders, Credentials credentials)
           
 
Method Summary
protected  XcapResponse 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 java.lang.String content
Constructor Detail

AsyncPutStringContentHandler

public AsyncPutStringContentHandler(XCAPClientResourceAdaptor ra,
                                    XCAPResourceAdaptorActivityHandle handle,
                                    java.net.URI uri,
                                    java.lang.String mimetype,
                                    java.lang.String content,
                                    Header[] additionalRequestHeaders,
                                    Credentials credentials)
Method Detail

doRequest

protected XcapResponse 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 © 2011. All Rights Reserved.