public class AppletHttpProtocol extends java.lang.Object implements WebProtocol
HTTP_RESPONSE_CODE, META_CONTENT_LENGTH, META_CONTENT_TYPE, META_COOKIE, META_ETAG, META_EXIST, META_LAST_MODIFIED
Constructor and Description |
---|
AppletHttpProtocol() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(WebFileObject fo,
ProgressMonitor mon)
get an inputStream for the resource.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata(WebFileObject fo)
return metadata for the resource.
|
public java.io.InputStream getInputStream(WebFileObject fo, ProgressMonitor mon) throws java.io.IOException
WebProtocol
getInputStream
in interface WebProtocol
fo
- the resourcemon
- monitor for the stream.java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getMetadata(WebFileObject fo) throws java.io.IOException
WebProtocol
getMetadata
in interface WebProtocol
fo
- the resourcejava.io.IOException