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

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

public class AsyncPutIfNoneMatchByteArrayContentHandler
extends AbstractAsyncHandler

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

Author:
emmartins

Field Summary
protected  byte[] 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
AsyncPutIfNoneMatchByteArrayContentHandler(XCAPClientResourceAdaptor ra, XCAPResourceAdaptorActivityHandle handle, java.net.URI uri, java.lang.String eTag, java.lang.String mimetype, byte[] 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 byte[] content

eTag

protected java.lang.String eTag
Constructor Detail

AsyncPutIfNoneMatchByteArrayContentHandler

public AsyncPutIfNoneMatchByteArrayContentHandler(XCAPClientResourceAdaptor ra,
                                                  XCAPResourceAdaptorActivityHandle handle,
                                                  java.net.URI uri,
                                                  java.lang.String eTag,
                                                  java.lang.String mimetype,
                                                  byte[] 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.