ccc.client.actions
Class CreatePageAction.PageCreatedCallback

java.lang.Object
  extended by ccc.client.core.ResponseHandlerAdapter
      extended by ccc.client.actions.CreatePageAction.PageCreatedCallback
All Implemented Interfaces:
ResponseHandler
Enclosing class:
CreatePageAction

public class CreatePageAction.PageCreatedCallback
extends ResponseHandlerAdapter

Callback handler for creating a page.

Author:
Civic Computing Ltd.

Constructor Summary
CreatePageAction.PageCreatedCallback(java.lang.String name)
          Constructor.
 
Method Summary
 void onOK(Response response)
          Handle a '200 OK' response from the remote server.
 
Methods inherited from class ccc.client.core.ResponseHandlerAdapter
onBadRequest, onConflict, onError, onFailed, onMethodNotAllowed, onNoContent, onNotFound, onSessionTimeout, onUnauthorized, onUnsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatePageAction.PageCreatedCallback

public CreatePageAction.PageCreatedCallback(java.lang.String name)
Constructor.

Parameters:
name - The action name.
Method Detail

onOK

public void onOK(Response response)
Handle a '200 OK' response from the remote server.

Specified by:
onOK in interface ResponseHandler
Overrides:
onOK in class ResponseHandlerAdapter
Parameters:
response - The server response.


Copyright © 2010. All Rights Reserved.