Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2014 Philip Helger (www.helger.com) philip[at]helger[dot]com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package com.helger.webbasics.ajax;
Interface for all ajax function declarations

Author(s):
Philip Helger
public interface IAjaxFunctionDeclaration extends IHasName
{
  

Returns:
The executor factory to be used. May not be null.
  IFactory <? extends IAjaxExecutorgetExecutorFactory ();

  

Parameters:
aRequestScope The request web scope to be used. Required for cookie-less handling. May not be null.
Returns:
The URI where the AJAX function can be invoked. Neither null nor empty.

Parameters:
aRequestScope The request web scope to be used. Required for cookie-less handling. May not be null.
aParams An optional map with URL parameters to be used in the URL. May be null or empty.
Returns:
The URI where the AJAX function can be invoked. Neither null nor empty.
                           @Nullable Map <StringStringaParams);

  

Parameters:
aRequestScope The request web scope to be used. Required for cookie-less handling. May not be null.
Returns:
The URL where the AJAX function can be invoked. Never null.

Parameters:
aRequestScope The request web scope to be used. Required for cookie-less handling. May not be null.
aParams An optional map with URL parameters to be used in the URL. May be null or empty.
Returns:
The URL where the AJAX function can be invoked. Never null.
                               @Nullable Map <StringStringaParams);
New to GrepCode? Check out our FAQ X