- Notifications
You must be signed in to change notification settings - Fork14
ServiceStack Java Libraries and Apps
License
ServiceStack/ServiceStack.Java
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Follow@ServiceStack or join theGoogle+ Communityfor updates, orStackOverflow or theCustomer Forums for support.
This repository contains the source for ServiceStack plugins for the leading Android Studio, IntelliJ and Eclipse Java IDE's providing Java developers a highly productive development experience for consuming Typed ServiceStack Services by leveragingAdd ServiceStack Reference directly within their IDE!
- Rename FileUpload to
UploadFileto match other ServiceStack libraries
Added new ServiceClient APIs:
<T>TpostFileWithRequest(IReturn<T>request,FileUploadfile);<T>TpostFileWithRequest(Objectrequest,FileUploadfile,ObjectresponseType);<T>TpostFileWithRequest(Stringpath,Objectrequest,FileUploadfile,ObjectresponseType);<T>TpostFilesWithRequest(IReturn<T>request,FileUpload[]files);<T>TpostFilesWithRequest(Objectrequest,FileUpload[]files,ObjectresponseType);<T>TpostFilesWithRequest(Stringpath,Objectrequest,FileUpload[]files,ObjectresponseType);
Added new AsyncServiceClient APIs:
<T>voidpostFileWithRequestAsync(IReturn<T>request,FileUploadfile,finalAsyncResult<T>asyncResult);<T>voidpostFileWithRequestAsync(Objectrequest,FileUploadfile,ObjectresponseType,finalAsyncResult<T>asyncResult);<T>voidpostFileWithRequestAsync(Stringpath,Objectrequest,FileUploadfile,ObjectresponseType,finalAsyncResult<T>asyncResult);<T>voidpostFilesWithRequestAsync(IReturn<T>request,FileUpload[]files,finalAsyncResult<T>asyncResult);<T>voidpostFilesWithRequestAsync(Objectrequest,FileUpload[]files,ObjectresponseType,finalAsyncResult<T>asyncResult);<T>voidpostFilesWithRequestAsync(Stringpath,Objectrequest,FileUpload[]files,ObjectresponseType,finalAsyncResult<T>asyncResult);
Switched to use/api pre-defined route by default, revert to legacy/json/reply pre-defined route with:
constclient =newJsonServiceClient(baseUrl);client.setBasePath();
Please submit issues tohttps://github.com/ServiceStack/Issues
For information on the different code-generation configuration options available and examples of using theJsonServiceClient refer to theJava ServiceStack Reference Documentation.
For information on using the generic Java JSON Service Client Typed API's see theJsonServiceClient Documentation or jump to the interested sections directly:
- JsonServiceClient Usage
- Custom Urls Example Usage
- AutoQuery Example Usage
- Android Service Client
- Typed Error Handling
- JsonServiceClient Error Handlers
Contains information on howJava Add ServiceStack Reference ensures a high-fidelity, idiomatic translation within the constraints of Java language and its built-in libraries, where .NET Server DTO's are translated into clean, conventional Java POJO's where .NET built-in Value Types mapped to their equivalent Java data Type. Use the links below to jump directly to the sections you're interested in:
- .NET Attributes translated into Java Annotations
- Terse, typed API's with IReturn interfaces
- Getters and Setters generated for each property
- Java Type Conversions
- Java Enums
- Java Configuration
ExampleTechStacks Android App
To demonstrate Java Native Types in action we've ported the SwiftTechStacks iOS App to a native Java Android App to showcase the responsiveness and easy-of-use of leveraging Java Add ServiceStack Reference in Android Projects.
Checkout theTechStacks Android App repository for a nice overview of how it leverages Java Native Types, Functional Java Utils and iOS-inspired Data Binding to easily develop services-heavy Mobile Apps.
About
ServiceStack Java Libraries and Apps
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.
