Package system.net.http.headers
Class HttpContentHeaders
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.net.http.headers.HttpHeaders
-
- system.net.http.headers.HttpContentHeaders
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class HttpContentHeaders extends HttpHeaders
The base .NET class managing System.Net.Http.Headers.HttpContentHeaders, System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Http.Headers.HttpContentHeaders
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.String
assemblyFullName
Fully assembly qualified name: System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Httpstatic java.lang.String
className
Qualified class name: System.Net.Http.Headers.HttpContentHeadersstatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description HttpContentHeaders()
HttpContentHeaders(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpContentHeaders
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpContentHeaders
, a cast assert is made to check if types are compatible.ContentDispositionHeaderValue
getContentDisposition()
Uri
getContentLocation()
byte[]
getContentMD5()
ContentRangeHeaderValue
getContentRange()
MediaTypeHeaderValue
getContentType()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
setContentDisposition(ContentDispositionHeaderValue ContentDisposition)
void
setContentLocation(Uri ContentLocation)
void
setContentMD5(byte[] ContentMD5)
void
setContentRange(ContentRangeHeaderValue ContentRange)
void
setContentType(MediaTypeHeaderValue ContentType)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.net.http.headers.HttpHeaders
Add, Clear, Contains, getNonValidated, Remove, TryAddWithoutValidation
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Http- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Http.Headers.HttpContentHeaders- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classHttpHeaders
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classHttpHeaders
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classHttpHeaders
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classHttpHeaders
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpHeaders
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpHeaders
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpContentHeaders cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpContentHeaders
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpContentHeaders
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getContentMD5
public byte[] getContentMD5() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
-
setContentMD5
public void setContentMD5(byte[] ContentMD5) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getContentDisposition
public ContentDispositionHeaderValue getContentDisposition() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
-
setContentDisposition
public void setContentDisposition(ContentDispositionHeaderValue ContentDisposition) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getContentRange
public ContentRangeHeaderValue getContentRange() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
-
setContentRange
public void setContentRange(ContentRangeHeaderValue ContentRange) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getContentType
public MediaTypeHeaderValue getContentType() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
-
setContentType
public void setContentType(MediaTypeHeaderValue ContentType) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getContentLocation
public Uri getContentLocation() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
-
setContentLocation
public void setContentLocation(Uri ContentLocation) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
-