Java Doc for URLConnectionTest.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » luni » tests » java » net » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » org package » org.apache.harmony.luni.tests.java.net 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.harmony.luni.tests.java.net.URLConnectionTest

URLConnectionTest
public class URLConnectionTest extends junit.framework.TestCase (Code)

Inner Class :static class MockURLConnection extends URLConnection
Inner Class :static class NewHandler extends URLStreamHandler

Field Summary
 URLConnectionuc
    
 URLurl
    


Method Summary
static  StringgetContentType(String fileName)
    
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtest_addRequestProperty()
    
public  voidtest_addRequestPropertyLjava_lang_StringLjava_lang_String()
    
public  voidtest_getAllowUserInteraction()
    
public  voidtest_getContent()
    
public  voidtest_getContentEncoding()
    
public  voidtest_getContentLength()
    
public  voidtest_getContentType()
    
public  voidtest_getContentType_regression()
    
public  voidtest_getContent_LjavalangClass()
    
public  voidtest_getDate()
    
public  voidtest_getDefaultAllowUserInteraction()
    
public  voidtest_getDefaultRequestPropertyLjava_lang_String()
    
public  voidtest_getDefaultUseCaches()
    
public  voidtest_getDoInput()
    
public  voidtest_getDoOutput()
    
public  voidtest_getExpiration()
    
public  voidtest_getFileNameMap()
    
public  voidtest_getHeaderFieldDateLjava_lang_StringJ()
    
public  voidtest_getHeaderFieldI()
    
public  voidtest_getHeaderFieldKeyI()
    
public  voidtest_getHeaderFieldLjava_lang_String()
    
public  voidtest_getHeaderFields()
    
public  voidtest_getIfModifiedSince()
    
public  voidtest_getInputStream()
    
public  voidtest_getLastModified()
    
public  voidtest_getOutputStream()
    
public  voidtest_getPermission()
    
public  voidtest_getRequestProperties()
    
public  voidtest_getRequestProperties_Exception()
    
public  voidtest_getRequestPropertyLjava_lang_String()
    
public  voidtest_getRequestProperty_LString_Exception()
    
public  voidtest_getURL()
    
public  voidtest_getUseCaches()
    
public  voidtest_guessContentTypeFromStreamLjava_io_InputStream()
    
public  voidtest_setAllowUserInteractionZ()
    
public  voidtest_setConnectTimeoutI()
    
public  voidtest_setDefaultAllowUserInteractionZ()
    
public  voidtest_setDefaultRequestPropertyLjava_lang_StringLjava_lang_String()
    
public  voidtest_setDefaultUseCachesZ()
    
public  voidtest_setDoInputZ()
    
public  voidtest_setDoOutputZ()
    
public  voidtest_setFileNameMapLjava_net_FileNameMap()
    
public  voidtest_setIfModifiedSinceJ()
    
public  voidtest_setReadTimeoutI()
    
public  voidtest_setRequestProperty()
    
public  voidtest_setRequestPropertyLjava_lang_StringLjava_lang_String()
    
public  voidtest_setUseCachesZ()
    
public  voidtest_toString()
    

Field Detail
uc
URLConnection uc(Code)



url
URL url(Code)





Method Detail
getContentType
static String getContentType(String fileName) throws IOException(Code)



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown()(Code)



test_addRequestProperty
public void test_addRequestProperty() throws MalformedURLException, IOException(Code)



test_addRequestPropertyLjava_lang_StringLjava_lang_String
public void test_addRequestPropertyLjava_lang_StringLjava_lang_String() throws IOException(Code)



test_getAllowUserInteraction
public void test_getAllowUserInteraction()(Code)



test_getContent
public void test_getContent() throws IOException(Code)



test_getContentEncoding
public void test_getContentEncoding()(Code)



test_getContentLength
public void test_getContentLength() throws IOException(Code)



test_getContentType
public void test_getContentType() throws IOException(Code)



test_getContentType_regression
public void test_getContentType_regression() throws IOException(Code)



test_getContent_LjavalangClass
public void test_getContent_LjavalangClass() throws IOException(Code)



test_getDate
public void test_getDate()(Code)



test_getDefaultAllowUserInteraction
public void test_getDefaultAllowUserInteraction()(Code)



test_getDefaultRequestPropertyLjava_lang_String
public void test_getDefaultRequestPropertyLjava_lang_String()(Code)



test_getDefaultUseCaches
public void test_getDefaultUseCaches()(Code)



test_getDoInput
public void test_getDoInput()(Code)



test_getDoOutput
public void test_getDoOutput()(Code)



test_getExpiration
public void test_getExpiration()(Code)



test_getFileNameMap
public void test_getFileNameMap()(Code)



test_getHeaderFieldDateLjava_lang_StringJ
public void test_getHeaderFieldDateLjava_lang_StringJ()(Code)



test_getHeaderFieldI
public void test_getHeaderFieldI()(Code)



test_getHeaderFieldKeyI
public void test_getHeaderFieldKeyI()(Code)



test_getHeaderFieldLjava_lang_String
public void test_getHeaderFieldLjava_lang_String()(Code)



test_getHeaderFields
public void test_getHeaderFields() throws IOException(Code)



test_getIfModifiedSince
public void test_getIfModifiedSince()(Code)



test_getInputStream
public void test_getInputStream() throws IOException(Code)



test_getLastModified
public void test_getLastModified()(Code)



test_getOutputStream
public void test_getOutputStream() throws Exception(Code)



test_getPermission
public void test_getPermission() throws Exception(Code)



test_getRequestProperties
public void test_getRequestProperties()(Code)



test_getRequestProperties_Exception
public void test_getRequestProperties_Exception() throws IOException(Code)



test_getRequestPropertyLjava_lang_String
public void test_getRequestPropertyLjava_lang_String()(Code)



test_getRequestProperty_LString_Exception
public void test_getRequestProperty_LString_Exception() throws IOException(Code)



test_getURL
public void test_getURL()(Code)



test_getUseCaches
public void test_getUseCaches()(Code)



test_guessContentTypeFromStreamLjava_io_InputStream
public void test_guessContentTypeFromStreamLjava_io_InputStream() throws IOException(Code)



test_setAllowUserInteractionZ
public void test_setAllowUserInteractionZ() throws MalformedURLException(Code)



test_setConnectTimeoutI
public void test_setConnectTimeoutI() throws Exception(Code)



test_setDefaultAllowUserInteractionZ
public void test_setDefaultAllowUserInteractionZ()(Code)



test_setDefaultRequestPropertyLjava_lang_StringLjava_lang_String
public void test_setDefaultRequestPropertyLjava_lang_StringLjava_lang_String()(Code)



test_setDefaultUseCachesZ
public void test_setDefaultUseCachesZ()(Code)



test_setDoInputZ
public void test_setDoInputZ() throws MalformedURLException, IOException(Code)

throws:
  IOException -
throws:
  MalformedURLException -



test_setDoOutputZ
public void test_setDoOutputZ() throws MalformedURLException, IOException(Code)

throws:
  IOException -
throws:
  MalformedURLException -



test_setFileNameMapLjava_net_FileNameMap
public void test_setFileNameMapLjava_net_FileNameMap() throws IOException(Code)

throws:
  IOException -



test_setIfModifiedSinceJ
public void test_setIfModifiedSinceJ() throws IOException(Code)



test_setReadTimeoutI
public void test_setReadTimeoutI() throws Exception(Code)



test_setRequestProperty
public void test_setRequestProperty() throws MalformedURLException, IOException(Code)



test_setRequestPropertyLjava_lang_StringLjava_lang_String
public void test_setRequestPropertyLjava_lang_StringLjava_lang_String()(Code)



test_setUseCachesZ
public void test_setUseCachesZ() throws MalformedURLException(Code)



test_toString
public void test_toString()(Code)



w__ww___.___j_a___va___2__s__.__c_o_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.