OracleAS Syndication Services API Reference
10g (9.0.4)

Part No. B10399-01

oracle.syndicate.server.cp.message
Interface CPRequestContext


public interface CPRequestContext

Context holder for object necessary to perform the processing of a Content Provider Request.

Since:
9.0.4

Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Returns the value of a request context attribute with the supplied name.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Sets an object in the request context.

 

Method Detail

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Sets an object in the request context. To avoid conflicts, teh attribute name used for object set in the request context shold follow the java class name conventions. CP implemetation are iencouraged to prefix the attribute name with their class name.

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Returns the value of a request context attribute with the supplied name. Null will be return if no such attribute is found.

Copyright © 2001, 2003, Oracle. All rights reserved.

Copyright © 2001, 2003, Oracle. All rights reserved.