com.aspose.html.net.messagehandlers

Class HttpProtocolMessageHandler



  • public class HttpProtocolMessageHandler
    extends MessageHandler

    Represents the http: protocol message handler.

    See Also:
    MessageHandler
    • Constructor Detail

      • HttpProtocolMessageHandler

        public HttpProtocolMessageHandler()

        Initializes a new instance of the HttpProtocolMessageHandler class.

    • Method Detail

      • 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.
      • copyHeaders

        public static void copyHeaders(com.aspose.ms.System.Net.WebResponse webResponse,
                                       ResponseMessage response)
      • copyHeaders

        public static void copyHeaders(RequestMessage request,
                                       com.aspose.ms.System.Net.WebRequest webRequest)
      • copyHeaders

        public static void copyHeaders(RequestMessage request,
                                       com.aspose.ms.System.Net.HttpWebRequest webRequest)