public class HttpProtocolMessageHandler extends MessageHandler
Represents the http:
protocol message handler.
MessageHandler
Constructor and Description |
---|
HttpProtocolMessageHandler()
Initializes a new instance of the
HttpProtocolMessageHandler class. |
Modifier and Type | Method and Description |
---|---|
static void |
copyHeadersToRequest(com.aspose.html.internal.ms.System.Net.WebHeaderCollection requestHeaders,
com.aspose.html.internal.ms.System.Net.WebRequest request) |
static void |
copyHeadersToResponse(com.aspose.html.internal.ms.System.Net.WebResponse response,
ResponseMessage responseMessage) |
void |
invoke(INetworkOperationContext context)
When overridden in a derived class is used to implement the message handling.
|
getFilters, set
public HttpProtocolMessageHandler()
Initializes a new instance of the HttpProtocolMessageHandler
class.
public static void copyHeadersToResponse(com.aspose.html.internal.ms.System.Net.WebResponse response, ResponseMessage responseMessage)
public static void copyHeadersToRequest(com.aspose.html.internal.ms.System.Net.WebHeaderCollection requestHeaders, com.aspose.html.internal.ms.System.Net.WebRequest request)
public void invoke(INetworkOperationContext context)
When overridden in a derived class is used to implement the message handling.
invoke
in class MessageHandler
context
- The context.