Package system.net.http.headers
Class HttpRequestHeaders
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.net.http.headers.HttpHeaders
-
- system.net.http.headers.HttpRequestHeaders
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class HttpRequestHeaders extends HttpHeaders
The base .NET class managing System.Net.Http.Headers.HttpRequestHeaders, System.Net.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Http.Headers.HttpRequestHeaders
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.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Net.Httpstatic java.lang.StringclassNameQualified class name: System.Net.Http.Headers.HttpRequestHeadersstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description HttpRequestHeaders()HttpRequestHeaders(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpRequestHeaderscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHttpRequestHeaders, a cast assert is made to check if types are compatible.AuthenticationHeaderValuegetAuthorization()CacheControlHeaderValuegetCacheControl()java.lang.StringgetFrom()java.lang.StringgetHost()RangeConditionHeaderValuegetIfRange()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 Typejava.lang.StringgetProtocol()AuthenticationHeaderValuegetProxyAuthorization()RangeHeaderValuegetRange()UrigetReferrer()voidsetAuthorization(AuthenticationHeaderValue Authorization)voidsetCacheControl(CacheControlHeaderValue CacheControl)voidsetFrom(java.lang.String From)voidsetHost(java.lang.String Host)voidsetIfRange(RangeConditionHeaderValue IfRange)voidsetJCOInstance(JCObject instance)voidsetProtocol(java.lang.String Protocol)voidsetProxyAuthorization(AuthenticationHeaderValue ProxyAuthorization)voidsetRange(RangeHeaderValue Range)voidsetReferrer(Uri Referrer)-
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=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.Http- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Http.Headers.HttpRequestHeaders- 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- Overrides:
getJCOAssemblyNamein classHttpHeaders- 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- Overrides:
getJCOClassNamein classHttpHeaders- 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- Overrides:
getJCOObjectNamein classHttpHeaders- 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- Overrides:
getJCOInstancein classHttpHeaders- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHttpHeaders
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHttpHeaders- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpRequestHeaders cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpRequestHeaders, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpRequestHeadersinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getAuthorization
public AuthenticationHeaderValue getAuthorization() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setAuthorization
public void setAuthorization(AuthenticationHeaderValue Authorization) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getProxyAuthorization
public AuthenticationHeaderValue getProxyAuthorization() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setProxyAuthorization
public void setProxyAuthorization(AuthenticationHeaderValue ProxyAuthorization) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getCacheControl
public CacheControlHeaderValue getCacheControl() throws java.lang.Throwable, ArgumentException, NotSupportedException, CultureNotFoundException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
-
setCacheControl
public void setCacheControl(CacheControlHeaderValue CacheControl) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, InvalidOperationException
-
getIfRange
public RangeConditionHeaderValue getIfRange() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setIfRange
public void setIfRange(RangeConditionHeaderValue IfRange) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getRange
public RangeHeaderValue getRange() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setRange
public void setRange(RangeHeaderValue Range) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
getFrom
public java.lang.String getFrom() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setFrom
public void setFrom(java.lang.String From) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, CultureNotFoundException
-
getHost
public java.lang.String getHost() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setHost
public void setHost(java.lang.String Host) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException, InvalidOperationException, UriFormatException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionUnreachableExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionOutOfMemoryExceptionInvalidOperationExceptionUriFormatException
-
getProtocol
public java.lang.String getProtocol() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setProtocol
public void setProtocol(java.lang.String Protocol) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, FormatException
-
getReferrer
public Uri getReferrer() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
setReferrer
public void setReferrer(Uri Referrer) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
-