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

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

public class AsyncPutIfNoneMatchStringContentHandler
extends AbstractAsyncHandler

Handles an async put if ETag matches none request, using String content.

Author:
emmartins

Field Summary
protected  java.lang.String content
           
protected  java.lang.String eTag
           
protected  java.lang.String mimetype
           
 
Fields inherited from class org.mobicents.slee.resource.xcapclient.handler.AbstractAsyncHandler
additionalRequestHeaders, credentials, eventType, handle, ra, uri
 
Constructor Summary
AsyncPutIfNoneMatchStringContentHandler(XCAPClientResourceAdaptor ra, XCAPResourceAdaptorActivityHandle handle, java.net.URI uri, java.lang.String eTag, 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

eTag

protected java.lang.String eTag
Constructor Detail

AsyncPutIfNoneMatchStringContentHandler

public AsyncPutIfNoneMatchStringContentHandler(XCAPClientResourceAdaptor ra,
                                               XCAPResourceAdaptorActivityHandle handle,
                                               java.net.URI uri,
                                               java.lang.String eTag,
                                               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.