com.dyuproject.web.rest.service
Interface Resource
- All Known Implementing Classes:
- AbstractResource, AnnotatedMethodResource
public interface Resource
The REST resource.
- Author:
- David Yu
GET
static final String GET
- See Also:
- Constant Field Values
POST
static final String POST
- See Also:
- Constant Field Values
PUT
static final String PUT
- See Also:
- Constant Field Values
DELETE
static final String DELETE
- See Also:
- Constant Field Values
init
void init(WebContext webContext)
destroy
void destroy(WebContext webContext)
getHttpMethod
String getHttpMethod()
handle
void handle()
throws ServletException,
IOException
- Throws:
ServletException
IOException
Copyright © 2013. All Rights Reserved.