1 11 package org.eclipse.update.internal.core.connection; 12 13 import java.io.IOException ; 14 import java.io.InputStream ; 15 16 import org.eclipse.core.runtime.CoreException; 17 import org.eclipse.core.runtime.IProgressMonitor; 18 19 public interface IResponse { 20 21 26 public InputStream getInputStream() throws IOException ; 27 28 41 public InputStream getInputStream(IProgressMonitor monitor) 42 throws IOException , CoreException, TooManyOpenConnectionsException; 43 44 49 public long getContentLength(); 50 51 56 public int getStatusCode(); 57 58 63 public String getStatusMessage(); 64 65 70 public long getLastModified(); 71 72 75 public void close(); 76 } 77 | Popular Tags |