Package system.net
Class WebResponse
- java.lang.Object
 - 
- org.mases.jcobridge.netreflection.NetObject
 - 
- system.MarshalByRefObject
 - 
- system.net.WebResponse
 
 
 
 
- 
- All Implemented Interfaces:
 java.lang.AutoCloseable,IJCOBridgeReflected,ISerializable
- Direct Known Subclasses:
 FileWebResponse,FtpWebResponse,HttpWebResponse,PackWebResponse
public class WebResponse extends MarshalByRefObject implements ISerializable, java.lang.AutoCloseable
The base .NET class managing System.Net.WebResponse, System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.WebResponse
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
 - MASES s.r.l https://masesgroup.com
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Net.Requestsstatic java.lang.StringclassNameQualified class name: System.Net.WebResponsestatic JCTypeclassTypeThe type managed from JCOBridge. 
- 
Constructor Summary
Constructors Constructor Description WebResponse()WebResponse(java.lang.Object instance)Internal constructor. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebResponsecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoWebResponse, a cast assert is made to check if types are compatible.voidclose()voidClose()voidDispose()longgetContentLength()java.lang.StringgetContentType()WebHeaderCollectiongetHeaders()booleangetIsFromCache()booleangetIsMutuallyAuthenticated()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeStreamGetResponseStream()UrigetResponseUri()booleangetSupportsHeaders()voidsetContentLength(long ContentLength)voidsetContentType(java.lang.String ContentType)voidsetJCOInstance(JCObject instance)- 
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService 
- 
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString 
- 
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData 
 - 
 
 - 
 
- 
- 
Field Detail
- 
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Requests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
 - Constant Field Values
 
 
- 
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Requests- See Also:
 - Constant Field Values
 
 
- 
className
public static final java.lang.String className
Qualified class name: System.Net.WebResponse- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
 getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
 getJCOAssemblyNamein interfaceISerializable- Overrides:
 getJCOAssemblyNamein classMarshalByRefObject- Returns:
 - A 
Stringrepresenting the Fullname of reflected Assembly 
 
- 
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
 getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
 getJCOClassNamein interfaceISerializable- Overrides:
 getJCOClassNamein classMarshalByRefObject- Returns:
 - A 
Stringrepresenting the Fullname of reflected Class 
 
- 
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
 getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
 getJCOObjectNamein interfaceISerializable- Overrides:
 getJCOObjectNamein classMarshalByRefObject- Returns:
 - A 
Stringrepresenting the name used to allocated the object in CLR context 
 
- 
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
 getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
 getJCOInstancein interfaceISerializable- Overrides:
 getJCOInstancein classMarshalByRefObject- Returns:
 - An 
Objectrepresenting the CLR instance of the instantiated Class 
 
- 
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
 setJCOInstancein classMarshalByRefObject
 
- 
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
 getJCOTypein interfaceIJCOBridgeReflected- Specified by:
 getJCOTypein interfaceISerializable- Overrides:
 getJCOTypein classMarshalByRefObject- Returns:
 - A 
JCTyperepresenting the CLR Type of the instantiated Class 
 
- 
cast
public static WebResponse cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoWebResponse, a cast assert is made to check if types are compatible.- Parameters:
 from-IJCOBridgeReflectedinstance to be casted- Returns:
 WebResponseinstance- Throws:
 java.lang.Throwable- in case of error during cast operation
 
- 
GetResponseStream
public Stream GetResponseStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
 
- 
Close
public void Close() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException- Throws:
 java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullException
 
- 
close
public void close() throws java.lang.Exception- Specified by:
 closein interfacejava.lang.AutoCloseable- Throws:
 java.lang.Exception
 
- 
getIsFromCache
public boolean getIsFromCache() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
getIsMutuallyAuthenticated
public boolean getIsMutuallyAuthenticated() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
getSupportsHeaders
public boolean getSupportsHeaders() throws java.lang.Throwable- Throws:
 java.lang.Throwable
 
- 
getContentLength
public long getContentLength() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException 
- 
setContentLength
public void setContentLength(long ContentLength) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException 
- 
getHeaders
public WebHeaderCollection getHeaders() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
 
- 
getContentType
public java.lang.String getContentType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException 
- 
setContentType
public void setContentType(java.lang.String ContentType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException 
- 
getResponseUri
public Uri getResponseUri() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
 
 - 
 
 -