Class AbstractHTTPDestination

    • Constructor Detail

      • AbstractHTTPDestination

        public AbstractHTTPDestination​(Bus b,
                                       DestinationRegistry registry,
                                       EndpointInfo ei,
                                       String path,
                                       boolean dp)
                                throws IOException
        Constructor
        Parameters:
        b - the associated Bus
        registry - the destination registry
        ei - the endpoint info of the destination
        path - the path
        dp - true for adding the default port if it is missing
        Throws:
        IOException
    • Method Detail

      • getBus

        public Bus getBus()
      • isOneWay

        protected final boolean isOneWay​(Message message)
        Parameters:
        message - the message under consideration
        Returns:
        true iff the message has been marked as oneway
      • invoke

        public void invoke​(javax.servlet.ServletConfig config,
                           javax.servlet.ServletContext context,
                           javax.servlet.http.HttpServletRequest req,
                           javax.servlet.http.HttpServletResponse resp)
                    throws IOException
        Throws:
        IOException
      • invokeComplete

        protected void invokeComplete​(javax.servlet.ServletContext context,
                                      javax.servlet.http.HttpServletRequest req,
                                      javax.servlet.http.HttpServletResponse resp,
                                      Message m)
                               throws IOException
        Throws:
        IOException
      • setupMessage

        protected void setupMessage​(Message inMessage,
                                    javax.servlet.ServletConfig config,
                                    javax.servlet.ServletContext context,
                                    javax.servlet.http.HttpServletRequest req,
                                    javax.servlet.http.HttpServletResponse resp)
                             throws IOException
        Throws:
        IOException
      • retrieveFromContinuation

        protected Message retrieveFromContinuation​(javax.servlet.http.HttpServletRequest req)
      • retrieveFromServlet3Async

        protected Message retrieveFromServlet3Async​(javax.servlet.http.HttpServletRequest req)
      • setupContinuation

        protected void setupContinuation​(Message inMessage,
                                         javax.servlet.http.HttpServletRequest req,
                                         javax.servlet.http.HttpServletResponse resp)
      • contextMatchOnExact

        protected boolean contextMatchOnExact()
      • finalizeConfig

        public void finalizeConfig()
      • getBeanName

        public String getBeanName()
        Description copied from interface: Configurable
        Get the configurable object's Bean name
        Specified by:
        getBeanName in interface Configurable
        Returns:
        the bean name
      • getContextMatchStrategy

        public String getContextMatchStrategy()
      • setContextMatchStrategy

        public void setContextMatchStrategy​(String contextMatchStrategy)
      • isFixedParameterOrder

        public boolean isFixedParameterOrder()
      • setFixedParameterOrder

        public void setFixedParameterOrder​(boolean fixedParameterOrder)
      • isMultiplexWithAddress

        public boolean isMultiplexWithAddress()
      • setMultiplexWithAddress

        public void setMultiplexWithAddress​(boolean multiplexWithAddress)
      • releaseRegistry

        public void releaseRegistry()
      • getPath

        public String getPath()