public abstract class URLConnection extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowUserInteraction |
protected boolean |
connected |
protected boolean |
doInput |
protected boolean |
doOutput |
protected long |
ifModifiedSince |
protected URL |
url |
protected boolean |
useCaches |
Modifier | Constructor and Description |
---|---|
protected |
URLConnection(URL var0) |
protected URL url
protected long ifModifiedSince
protected boolean useCaches
protected boolean connected
protected boolean doOutput
protected boolean doInput
protected boolean allowUserInteraction
protected URLConnection(URL var0)
public abstract void connect() throws IOException
IOException
public boolean getAllowUserInteraction()
public Object getContent() throws IOException
IOException
public Object getContent(Class[] var0) throws IOException
IOException
public String getContentEncoding()
public int getContentLength()
public String getContentType()
public long getDate()
public static boolean getDefaultAllowUserInteraction()
public boolean getDefaultUseCaches()
public boolean getDoInput()
public boolean getDoOutput()
public long getExpiration()
public static FileNameMap getFileNameMap()
public String getHeaderField(int var0)
public long getHeaderFieldDate(String var0, long var1)
public int getHeaderFieldInt(String var0, int var1)
public String getHeaderFieldKey(int var0)
public long getIfModifiedSince()
public InputStream getInputStream() throws IOException
IOException
public long getLastModified()
public OutputStream getOutputStream() throws IOException
IOException
public Permission getPermission() throws IOException
IOException
public URL getURL()
public boolean getUseCaches()
public static String guessContentTypeFromStream(InputStream var0) throws IOException
IOException
public void setAllowUserInteraction(boolean var0)
public static void setContentHandlerFactory(ContentHandlerFactory var0)
public static void setDefaultAllowUserInteraction(boolean var0)
public void setDefaultUseCaches(boolean var0)
public void setDoInput(boolean var0)
public void setDoOutput(boolean var0)
public static void setFileNameMap(FileNameMap var0)
public void setIfModifiedSince(long var0)
public void setUseCaches(boolean var0)
Copyright © 2006–2013 OSGi Alliance. All rights reserved.