Interface AjaxCallback

  • All Superinterfaces:
    org.teavm.jso.JSObject
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface AjaxCallback
    extends org.teavm.jso.JSObject
    Callback function that is invoked from JavaScript when an AJAX request has been sent and the response has been received.
    • Method Detail

      • onResponse

        void onResponse​(java.lang.String response)