|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.droids.protocol.file.FileProtocol
public class FileProtocol
| Constructor Summary | |
|---|---|
FileProtocol()
|
|
| Method Summary | |
|---|---|
boolean |
isAllowed(java.net.URI uri)
Some protocols (like http) offer a mechanism to evaluate whether the client can request a given url (in http this is the robots.txt configuration) |
ManagedContentEntity |
load(java.net.URI uri)
Return the content entity represent of the url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileProtocol()
| Method Detail |
|---|
public boolean isAllowed(java.net.URI uri)
Protocol
isAllowed in interface Protocoluri - the url to evaluate
public ManagedContentEntity load(java.net.URI uri)
throws java.io.IOException
Protocol
load in interface Protocoljava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||