Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.java.html.lib.angular.IHttpService Maven / Gradle / Ivy
package net.java.html.lib.angular;
public class IHttpService extends net.java.html.lib.Objs {
protected IHttpService(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(IHttpService.class);
}
@Override
public IHttpService create(java.lang.Object obj) {
return obj == null ? null : new IHttpService(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IHttpService $as(java.lang.Object obj) {
return $AS.create(obj);
}
public IHttpPromise $apply(IRequestConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.$apply$218($js(this), /* FirstTypeNode*/$js(config)));
}
// CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n * Object describing the request to be made and how it should be processed.\n */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IHttpPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"config","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IRequestConfig","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[]}
/**
* Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations.
*/
public net.java.html.lib.Objs.Property defaults = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.angular.IHttpProviderDefaults.class, "defaults");
public IHttpProviderDefaults defaults() { return defaults.get(); }
/**
* Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes.
*/
public net.java.html.lib.Objs.Property pendingRequests = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Array.class, "pendingRequests");
public IRequestConfig[] pendingRequests() { return pendingRequests.get(); }
/**
* Shortcut method to perform DELETE request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise delete(java.lang.String url, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.delete$219($js(this), url, /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform DELETE request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise delete(java.lang.String url) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.delete$220($js(this), url));
}
/**
* Shortcut method to perform GET request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise get(java.lang.String url, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.get$221($js(this), url, /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform GET request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise get(java.lang.String url) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.get$222($js(this), url));
}
/**
* Shortcut method to perform HEAD request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise head(java.lang.String url, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.head$223($js(this), url, /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform HEAD request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise head(java.lang.String url) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.head$224($js(this), url));
}
/**
* Shortcut method to perform JSONP request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise jsonp(java.lang.String url, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.jsonp$225($js(this), url, /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform JSONP request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param config Optional configuration object
*/
public IHttpPromise jsonp(java.lang.String url) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.jsonp$226($js(this), url));
}
/**
* Shortcut method to perform PATCH request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param data Request content
* @param config Optional configuration object
*/
public IHttpPromise patch(java.lang.String url, java.lang.Object data, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.patch$227($js(this), url, /* AnyKeyword*/$js(data), /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform PATCH request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param data Request content
* @param config Optional configuration object
*/
public IHttpPromise patch(java.lang.String url, java.lang.Object data) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.patch$228($js(this), url, /* AnyKeyword*/$js(data)));
}
/**
* Shortcut method to perform POST request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param data Request content
* @param config Optional configuration object
*/
public IHttpPromise post(java.lang.String url, java.lang.Object data, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.post$229($js(this), url, /* AnyKeyword*/$js(data), /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform POST request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param data Request content
* @param config Optional configuration object
*/
public IHttpPromise post(java.lang.String url, java.lang.Object data) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.post$230($js(this), url, /* AnyKeyword*/$js(data)));
}
/**
* Shortcut method to perform PUT request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param data Request content
* @param config Optional configuration object
*/
public IHttpPromise put(java.lang.String url, java.lang.Object data, IRequestShortcutConfig config) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.put$231($js(this), url, /* AnyKeyword*/$js(data), /* FirstTypeNode*/$js(config)));
}
/**
* Shortcut method to perform PUT request.
*
* @param url Relative or absolute URL specifying the destination of the request
* @param data Request content
* @param config Optional configuration object
*/
public IHttpPromise put(java.lang.String url, java.lang.Object data) {
return (IHttpPromise)net.java.html.lib.angular.IHttpPromise.$as($Typings$.put$232($js(this), url, /* AnyKeyword*/$js(data)));
}
}