本文整理汇总了Java中retrofit.http.PartMap类的典型用法代码示例。如果您正苦于以下问题:Java PartMap类的具体用法?Java PartMap怎么用?Java PartMap使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PartMap类属于retrofit.http包,在下文中一共展示了PartMap类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: createQueryProfile
import retrofit.http.PartMap; //导入依赖的package包/类
@POST(URL + V2)
@Multipart
Response createQueryProfile(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(PROFILE_VARIABLE) String name,
@Part(INDEX_PART) String queryManipulationIndex,
@PartMap Map<String, Object> params
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:9,代码来源:QueryProfileBackend.java
示例2: updateQueryProfile
import retrofit.http.PartMap; //导入依赖的package包/类
@PUT(URL + V1)
@Multipart
Response updateQueryProfile(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(PROFILE_VARIABLE) ResourceIdentifier queryProfile,
@Part(INDEX_PART) String queryManipulationIndex,
@PartMap Map<String, Object> params
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:9,代码来源:QueryProfileBackend.java
示例3: create
import retrofit.http.PartMap; //导入依赖的package包/类
@POST(BASE_PATH + V1)
@Multipart
Response create(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(USER_STORE_VARIABLE) ResourceIdentifier userStore,
@Part("group_name") String name,
@PartMap Map<String, Object> hierarchyParameters
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:9,代码来源:GroupsBackend.java
示例4: create
import retrofit.http.PartMap; //导入依赖的package包/类
@POST(BASE_PATH + V1)
@Multipart
Response create(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(USER_STORE_VARIABLE) ResourceIdentifier userStore,
@Part("user_email") String email,
@Part("on_success") String onSuccess,
@Part("on_error") String onError,
@PartMap Map<String, Object> params
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:11,代码来源:UserStoreUsersBackend.java
示例5: queryTextIndexWithFile
import retrofit.http.PartMap; //导入依赖的package包/类
/**
* Query HP Haven OnDemand for documents using query text in a file using the given token
* @param token The token to use to authenticate the request
* @param file A file containing the query text
* @param params Additional parameters to be sent as part of the request
* @return A list of documents that match the query text
*/
@Multipart
@POST(URL)
Response queryTextIndexWithFile(
@Header("token") AuthenticationToken<?, ?> token,
@Part("file") TypedOutput file,
@PartMap Map<String, Object> params
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:15,代码来源:QueryTextIndexBackend.java
示例6: findRelatedConceptsWithFile
import retrofit.http.PartMap; //导入依赖的package包/类
/**
* Query HP Haven OnDemand for documents using query text in a file using the given token
* @param token The token to use to authenticate the request
* @param file A file containing the query text
* @param params Additional parameters to be sent as part of the request
* @return A list of documents that match the query text
*/
@Multipart
@POST(URL)
Response findRelatedConceptsWithFile(
@Header("token") AuthenticationToken<?, ?> token,
@Part("file") TypedOutput file,
@PartMap Map<String, Object> params
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:15,代码来源:FindRelatedConceptsBackend.java
示例7: findSimilarDocumentsToFile
import retrofit.http.PartMap; //导入依赖的package包/类
/**
* Finds similar documents to the text in a file using the given token
* @param token The token to use to authenticate the request
* @param file A file containing the query text
* @param params Additional parameters to be sent as part of the request
* @return A list of documents that are similar to the query text
*/
@Multipart
@POST(URL)
Response findSimilarDocumentsToFile(
@Header("token") AuthenticationToken<?, ?> token,
@Part("file") TypedOutput file,
@PartMap Map<String, Object> params
) throws HodErrorException;
开发者ID:hpe-idol,项目名称:java-hod-client,代码行数:15,代码来源:FindSimilarBackend.java
示例8: createMealEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/meals")
void createMealEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例9: updateMealEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/meals/{xid}/partialUpdate")
void updateMealEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@Path(UpPlatformSdkConstants.XID) String xid,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:9,代码来源:RestApiInterface.java
示例10: createCustomEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/generic_events")
void createCustomEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例11: updateCustomEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/generic_events/{xid}/partialUpdate")
void updateCustomEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例12: createWorkoutEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/workouts")
void createWorkoutEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例13: updateWorkoutEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/workouts/{xid}/partialUpdate")
void updateWorkoutEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例14: createSleepEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/sleeps")
void createSleepEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例15: createBodyEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/body_events")
void createBodyEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例16: createOrUpdateUsersGoals
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/goals")
void createOrUpdateUsersGoals(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例17: createMoodEvent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/nudge/api/{version}/users/@me/mood")
void createMoodEvent(
@Path(UpPlatformSdkConstants.API_VERSION) String version,
@PartMap HashMap<String, Object> hashMap,
Callback<Object> response
);
开发者ID:Jawbone,项目名称:UPPlatform_Android_SDK,代码行数:8,代码来源:RestApiInterface.java
示例18: MediaUpload
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/api/values")
void MediaUpload(@PartMap Map<String,TypedFile> media, Callback<String> response);
开发者ID:burakgumusfb,项目名称:Android.Media.Uploader,代码行数:4,代码来源:IMedia.java
示例19: postApk
import retrofit.http.PartMap; //导入依赖的package包/类
@POST("/upload.webservices.aptoide.com/webservices/2/uploadAppToRepo")
@Multipart
UploadAppToRepoJson postApk(@PartMap HashMap<String, Object> args);
开发者ID:Aptoide,项目名称:aptoide-client,代码行数:4,代码来源:UploadAppToRepoRequest.java
示例20: createContent
import retrofit.http.PartMap; //导入依赖的package包/类
@Multipart
@POST("/api/saascms/content/new")
PContent createContent(@PartMap Map<String, Object> map, @Part("file") TypedFile file);
开发者ID:phoenix-scholars,项目名称:JPluf,代码行数:4,代码来源:IContentService.java
注:本文中的retrofit.http.PartMap类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论