Table of Contents

Class HttpExchange

Namespace
Javax.Xml.Ws.Spi.Http
Assembly
MASES.JNet.dll
public class HttpExchange : JVMBridgeBase<HttpExchange>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
HttpExchange
Implements
Inherited Members
Extension Methods

Constructors

HttpExchange()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("HttpExchange class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public HttpExchange()

HttpExchange(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public HttpExchange(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

HttpExchange(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("HttpExchange class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public HttpExchange(params object[] args)

Parameters

args object[]

Properties

AttributeNames

public Set<String> AttributeNames { get; }

Property Value

Set<String>

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ContextPath

public String ContextPath { get; }

Property Value

String

HttpContext

public HttpContext HttpContext { get; }

Property Value

HttpContext

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

LocalAddress

public InetSocketAddress LocalAddress { get; }

Property Value

InetSocketAddress

PathInfo

public String PathInfo { get; }

Property Value

String

Protocol

public String Protocol { get; }

Property Value

String

QueryString

public String QueryString { get; }

Property Value

String

REQUEST_CIPHER_SUITE

public static String REQUEST_CIPHER_SUITE { get; }

Property Value

String

REQUEST_KEY_SIZE

public static String REQUEST_KEY_SIZE { get; }

Property Value

String

REQUEST_X509CERTIFICATE

public static String REQUEST_X509CERTIFICATE { get; }

Property Value

String

RemoteAddress

public InetSocketAddress RemoteAddress { get; }

Property Value

InetSocketAddress

RequestBody

public InputStream RequestBody { get; }

Property Value

InputStream

RequestHeaders

public Map<String, List<String>> RequestHeaders { get; }

Property Value

Map<String, List<String>>

RequestMethod

public String RequestMethod { get; }

Property Value

String

RequestURI

public String RequestURI { get; }

Property Value

String

ResponseBody

public OutputStream ResponseBody { get; }

Property Value

OutputStream

ResponseHeaders

public Map<String, List<String>> ResponseHeaders { get; }

Property Value

Map<String, List<String>>

Scheme

public String Scheme { get; }

Property Value

String

UserPrincipal

public Principal UserPrincipal { get; }

Property Value

Principal

Methods

AddResponseHeader(String, String)

public void AddResponseHeader(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Close()

public void Close()

Exceptions

IOException

GetAttribute(String)

public object GetAttribute(String arg0)

Parameters

arg0 String

String

Returns

object

object

GetRequestHeader(String)

public String GetRequestHeader(String arg0)

Parameters

arg0 String

String

Returns

String

String

IsUserInRole(String)

public bool IsUserInRole(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

SetStatus(int)

public void SetStatus(int arg0)

Parameters

arg0 int

int