com.dyuproject.web.rest.service
Interface Resource

All Superinterfaces:
LifeCycle
All Known Implementing Classes:
AnnotatedMethodResource

public interface Resource
extends LifeCycle

The REST resource which basically handles the request.

Author:
David Yu
Date created:
Dec 6, 2008

Field Summary
static String DELETE
           
static String GET
           
static String POST
           
static String PUT
           
 
Method Summary
 String getHttpMethod()
           
 void handle(RequestContext rc)
           
 
Methods inherited from interface com.dyuproject.web.rest.LifeCycle
destroy, init
 

Field Detail

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
Method Detail

getHttpMethod

String getHttpMethod()

handle

void handle(RequestContext rc)
            throws ServletException,
                   IOException
Throws:
ServletException
IOException


Copyright © 2008-2013. All Rights Reserved.