|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.resource.AbstractResource org.springframework.extensions.surf.resource.support.URLResource
public class URLResource
URL resource Object ids are of the following format: http://server:port/uri https://server:port/uri
Field Summary |
---|
Fields inherited from class org.springframework.extensions.surf.resource.AbstractResource |
---|
bytes, endpointId, name, objectId, protocolId |
Constructor Summary | |
---|---|
URLResource(String protocolId,
String endpointId,
String objectId)
|
Method Summary | |
---|---|
ResourceContent |
getContent()
Gets the content for this resource. |
String |
getContentURL()
Gets the content url. |
ResourceContent |
getMetadata()
Gets the metadata for this resource. |
String |
getMetadataURL()
Gets the metadata url. |
String |
getObjectTypeId()
Gets the object type id. |
String |
getResourceId()
Gets the resource id. |
String |
getResourceTypeId()
|
boolean |
isContainer()
Checks if the resource is a container. |
Methods inherited from class org.springframework.extensions.surf.resource.AbstractResource |
---|
getEndpointId, getName, getObjectId, getProtocolId, setEndpointId, setName, setObjectId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLResource(String protocolId, String endpointId, String objectId)
Method Detail |
---|
public String getResourceId()
Resource
getResourceId
in interface Resource
getResourceId
in class AbstractResource
public ResourceContent getMetadata() throws IOException
Resource
IOException
public String getMetadataURL()
Resource
public ResourceContent getContent() throws IOException
Resource
IOException
public String getContentURL()
Resource
public String getObjectTypeId()
Resource
public String getResourceTypeId()
public boolean isContainer()
Resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |