@Produces(value="application/json") @Path(value="/article") public class ArticleHandler extends Handler
| Modifier and Type | Field and Description |
|---|---|
org.hibernate.Session |
dbSession |
String |
userId |
annotation, api, apis, context, docParameter, mapper, returnType| Constructor and Description |
|---|
ArticleHandler() |
| Modifier and Type | Method and Description |
|---|---|
Article |
createArticle(String title,
String content) |
Article |
getArticle(String articleId) |
newInstance, rungenerateApi, runMethod, runMethodspublic org.hibernate.Session dbSession
public String userId
Copyright © 2014. All rights reserved.