Class HTTPEndpoint

    • Field Detail

      • legacyPrefix

        public static String legacyPrefix
    • Constructor Detail

      • HTTPEndpoint

        public HTTPEndpoint()
    • Method Detail

      • onFault

        public void onFault​(MessageContext synCtx)
        Description copied from class: AbstractEndpoint
        On a fault, propagate to parent if any, or call into the fault handler
        Overrides:
        onFault in class AbstractEndpoint
        Parameters:
        synCtx - the message at hand
      • onSuccess

        public void onSuccess()
        Description copied from class: AbstractEndpoint
        The SynapseCallback Receiver notifies an endpoint, if a message was successfully processed to give it a chance to clear up or reset its state to active
        Specified by:
        onSuccess in interface Endpoint
        Overrides:
        onSuccess in class AbstractEndpoint
      • send

        public void send​(MessageContext synCtx)
        Description copied from interface: Endpoint
        Sends the message context according to an endpoint specific behavior.
        Specified by:
        send in interface Endpoint
        Overrides:
        send in class AbstractEndpoint
        Parameters:
        synCtx - MessageContext to be sent.
      • processUrlTemplate

        protected void processUrlTemplate​(MessageContext synCtx)
                                   throws com.damnhandy.uri.template.VariableExpansionException
        Throws:
        com.damnhandy.uri.template.VariableExpansionException
      • resolveUrlTemplate

        protected String resolveUrlTemplate​(MessageContext synCtx)
                                     throws com.damnhandy.uri.template.VariableExpansionException
        Throws:
        com.damnhandy.uri.template.VariableExpansionException
      • getHttpMethod

        public String getHttpMethod()
      • setHttpMethod

        public void setHttpMethod​(String httpMethod)
      • getUriTemplate

        public com.damnhandy.uri.template.UriTemplate getUriTemplate()
      • getHttpMethodExpression

        public SynapseXPath getHttpMethodExpression()
      • setUriTemplate

        public void setUriTemplate​(com.damnhandy.uri.template.UriTemplate uriTemplate)
      • setHttpMethodExpression

        public void setHttpMethodExpression​(SynapseXPath httpMethodExpression)
      • isLegacySupport

        public boolean isLegacySupport()
      • setLegacySupport

        public void setLegacySupport​(boolean legacySupport)
      • getHttpVersion

        public String getHttpVersion()
      • setHttpVersion

        public void setHttpVersion​(String httpVersion)
      • getServerPushSequence

        public String getServerPushSequence()
      • setServerPushSequence

        public void setServerPushSequence​(String serverPushSequence)