|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdviceRequest
This interface represents a request for advice within the advisor subsystem. Its methods are similar to the HttpSession interface.
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Returns the AdviceRequest attribute with a given name. |
Collection |
getAttributeNames()
Returns a Collection with the names of all the attributes. |
long |
getCreationTime()
Returns the creation time for this AdviceRequest. |
String |
getId()
Returns the user assigned identifier for this AdviceRequest. |
String |
getUri()
Returns the URI associated with this AdviceRequest. |
void |
removeAttribute(String name)
Removes a named attribute from the AdviceRequest. |
void |
setAttribute(String name,
Object value)
Sets a named attribute to a value. |
void |
setId(String id)
Set the identifier for this AdviceRequest. |
void |
setUri(String uri)
Sets the URI associated with this AdviceRequest. |
| Method Detail |
|---|
String getUri()
void setUri(String uri)
uri - the URI.Object getAttribute(String name)
name - the name of the attribute.
Collection getAttributeNames()
long getCreationTime()
String getId()
void setId(String id)
id - the AdviceRequest identifier.void removeAttribute(String name)
name - the name of the attribute.
void setAttribute(String name,
Object value)
name - the name of the attribute.value - the value to be associated.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||