|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionHelper
Provides callbacks during ParsedURL.connect,
to enable filtering and custom processing as the connect operation unfolds.
| Method Summary | |
|---|---|
void |
badResult()
Called at the end of processing, if it turns out that something went wrong while opening the connection. |
void |
displayStatus(java.lang.String message)
Used to provid status feedback to the user. |
void |
handleFileDirectory(java.io.File file)
When this method is called, you know the file is a directory. |
boolean |
parseFilesWithSuffix(java.lang.String suffix)
Tells the connect() method that it should go ahead and create a PURLConnection for files that have this suffix. |
boolean |
processRedirect(java.net.URL connectionURL)
Shuffle referential models when a redirect is observed, if you like. |
| Method Detail |
|---|
void handleFileDirectory(java.io.File file)
file - boolean parseFilesWithSuffix(java.lang.String suffix)
suffix -
void badResult()
void displayStatus(java.lang.String message)
message -
boolean processRedirect(java.net.URL connectionURL)
throws java.lang.Exception
connectionURL -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||