com.jproxy.proxy.server.protocol
Class MemoryURLConnection

java.lang.Object
  extended byjava.net.URLConnection
      extended bycom.jproxy.proxy.server.protocol.MemoryURLConnection

public class MemoryURLConnection
extends java.net.URLConnection


Constructor Summary
MemoryURLConnection(java.net.URL url)
           
 
Method Summary
 void close()
           
 void connect()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 void setContentType(java.lang.String s)
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoryURLConnection

public MemoryURLConnection(java.net.URL url)
Method Detail

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String s)

getContentLength

public int getContentLength()

close

public void close()

connect

public void connect()
             throws java.io.IOException
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © JProxy LLC. All Rights Reserved.