public class HttpContentHeaders extends HttpHeaders
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Http.Headers.HttpContentHeaders
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Http
|
static java.lang.String |
className
Qualified class name: System.Net.Http.Headers.HttpContentHeaders
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
HttpContentHeaders() |
HttpContentHeaders(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpContentHeaders |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpContentHeaders, a cast assert is made to check if types are compatible. |
ICollection_1 |
getAllow()
Gets the value of the .NET property Allow.
|
ContentDispositionHeaderValue |
getContentDisposition()
Gets the value of the .NET property ContentDisposition.
|
ICollection_1 |
getContentEncoding()
Gets the value of the .NET property ContentEncoding.
|
ICollection_1 |
getContentLanguage()
Gets the value of the .NET property ContentLanguage.
|
Nullable_1 |
getContentLength()
Gets the value of the .NET property ContentLength.
|
Uri |
getContentLocation()
Gets the value of the .NET property ContentLocation.
|
byte[] |
getContentMD5()
Gets the value of the .NET property ContentMD5.
|
ContentRangeHeaderValue |
getContentRange()
Gets the value of the .NET property ContentRange.
|
MediaTypeHeaderValue |
getContentType()
Gets the value of the .NET property ContentType.
|
Nullable_1 |
getExpires()
Gets the value of the .NET property Expires.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Nullable_1 |
getLastModified()
Gets the value of the .NET property LastModified.
|
void |
setContentDisposition(ContentDispositionHeaderValue ContentDisposition)
Sets the value of the .NET property ContentDisposition.
|
void |
setContentLength(Nullable_1 ContentLength)
Sets the value of the .NET property ContentLength.
|
void |
setContentLocation(Uri ContentLocation)
Sets the value of the .NET property ContentLocation.
|
void |
setContentMD5(byte[] ContentMD5)
Sets the value of the .NET property ContentMD5.
|
void |
setContentRange(ContentRangeHeaderValue ContentRange)
Sets the value of the .NET property ContentRange.
|
void |
setContentType(MediaTypeHeaderValue ContentType)
Sets the value of the .NET property ContentType.
|
void |
setExpires(Nullable_1 Expires)
Sets the value of the .NET property Expires.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLastModified(Nullable_1 LastModified)
Sets the value of the .NET property LastModified.
|
Add, Add, Clear, Contains, getNonValidated, GetValues, Remove, TryAddWithoutValidation, TryAddWithoutValidation, TryGetValuesGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpContentHeaders()
throws java.lang.Throwable
java.lang.Throwablepublic HttpContentHeaders(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static HttpContentHeaders cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpContentHeaders, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpContentHeaders instancejava.lang.Throwable - in case of error during cast operationpublic ICollection_1 getAllow() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ContentDispositionHeaderValue getContentDisposition() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic ICollection_1 getContentEncoding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICollection_1 getContentLanguage() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getContentLength() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Uri getContentLocation() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic byte[] getContentMD5()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
CultureNotFoundException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic ContentRangeHeaderValue getContentRange() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic MediaTypeHeaderValue getContentType() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Nullable_1 getExpires() throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class HttpHeaderspublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HttpHeaderspublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HttpHeadersnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HttpHeaderspublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class HttpHeaderspublic Nullable_1 getLastModified() throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setContentDisposition(ContentDispositionHeaderValue ContentDisposition) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
ContentDisposition - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setContentLength(Nullable_1 ContentLength) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
ContentLength - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setContentLocation(Uri ContentLocation) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
ContentLocation - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setContentMD5(byte[] ContentMD5)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException
ContentMD5 - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setContentRange(ContentRangeHeaderValue ContentRange) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
ContentRange - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setContentType(MediaTypeHeaderValue ContentType) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
ContentType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setExpires(Nullable_1 Expires) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
Expires - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class HttpHeadersinstance - the new underlying objectpublic void setLastModified(Nullable_1 LastModified) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
LastModified - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises it