com.aspose.html.net.messagehandlers

Class HttpProtocolMessageHandler

    • Constructor Detail

      • HttpProtocolMessageHandler

        public HttpProtocolMessageHandler()

        Initializes a new instance of the HttpProtocolMessageHandler class.

    • Method Detail

      • copyHeadersToResponse

        public static void copyHeadersToResponse(com.aspose.ms.System.Net.WebResponse response,
                                                 ResponseMessage responseMessage)
      • copyHeadersToRequest

        public static void copyHeadersToRequest(com.aspose.ms.System.Net.WebHeaderCollection requestHeaders,
                                                com.aspose.ms.System.Net.WebRequest request)
      • invoke

        public void invoke(INetworkOperationContext context)

        When overridden in a derived class is used to implement the message handling.

        Specified by:
        invoke in class MessageHandler
        Parameters:
        context - The context.