|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Addressable
Interface that allows to retrieve the address of a piece of content.
URI
and parameters should reference the canonical address of the
item.
This interface is designed to be implemented by clients. |
Field Summary | |
---|---|
static java.util.Map<java.lang.String,java.lang.String[]> |
EMPTY_PARAMETERS
The empty parameters map, unmodifiable |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameters()
Returns an potentially unmodifiable version of the parameters used to address the object, never null , but potentially the empty
map. |
java.net.URI |
getURI()
Returns the unique identifier of the object. |
Field Detail |
---|
static final java.util.Map<java.lang.String,java.lang.String[]> EMPTY_PARAMETERS
Method Detail |
---|
java.util.Map<java.lang.String,java.lang.String[]> getParameters()
Returns an potentially unmodifiable version of the parameters used to
address the object, never null
, but potentially the empty
map.
The key is of type String
, the values of type
String[]
java.net.URI getURI() throws java.net.URISyntaxException
null
.
java.net.URISyntaxException
- - if the URL cannot be constructed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |