org.wso2.registry.app.targets
Class ResponseTarget

java.lang.Object
  extended by org.apache.abdera.protocol.server.impl.SimpleTarget
      extended by org.wso2.registry.app.targets.ResponseTarget
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>, org.apache.abdera.protocol.server.Target

public class ResponseTarget
extends org.apache.abdera.protocol.server.impl.SimpleTarget

A Target which contains a ready-made ResponseContext. The RegistryAdapter just notices this and returns the contained ResponseContext immediately.


Field Summary
static org.apache.abdera.protocol.server.TargetType RESPONSE_TYPE
           
 
Fields inherited from class org.apache.abdera.protocol.server.impl.SimpleTarget
context, type
 
Constructor Summary
ResponseTarget(org.apache.abdera.protocol.server.RequestContext context, org.apache.abdera.protocol.server.ResponseContext response)
           
 
Method Summary
 org.apache.abdera.protocol.server.ResponseContext getResponse()
           
 
Methods inherited from class org.apache.abdera.protocol.server.impl.SimpleTarget
equals, getIdentity, getParameter, getParameterNames, getRequestContext, getType, hashCode, iterator, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RESPONSE_TYPE

public static final org.apache.abdera.protocol.server.TargetType RESPONSE_TYPE
Constructor Detail

ResponseTarget

public ResponseTarget(org.apache.abdera.protocol.server.RequestContext context,
                      org.apache.abdera.protocol.server.ResponseContext response)
Method Detail

getResponse

public org.apache.abdera.protocol.server.ResponseContext getResponse()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.