|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japtproxy.fetcher.FetchedResourceHttp
public class FetchedResourceHttp
The FetchedResourceHttp provides access to the via HTTP fetched resource.
| Constructor Summary | |
|---|---|
FetchedResourceHttp(org.apache.commons.httpclient.methods.GetMethod httpGet)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Closes open fetcher connection. |
long |
getContentLength()
|
java.lang.String |
getContentType()
|
java.io.InputStream |
getInputStream()
|
long |
getLastModified()
|
boolean |
isModified()
|
void |
setModified(boolean modified)
Sets the modified field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FetchedResourceHttp(org.apache.commons.httpclient.methods.GetMethod httpGet)
httpGet - the GetMethod instance.| Method Detail |
|---|
public boolean isModified()
isModified in interface FetchedResourcepublic void setModified(boolean modified)
modified - the modified field.public java.lang.String getContentType()
getContentType in interface FetchedResourcepublic long getLastModified()
getLastModified in interface FetchedResourcepublic long getContentLength()
getContentLength in interface FetchedResource
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface FetchedResourceInputStream.
java.io.IOException - is thrown if the operation fails.public void close()
close in interface FetchedResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||