Groovy Documentation

org.linkedin.glu.agent.rest.resources
[Groovy] Class HostResource

java.lang.Object
  org.restlet.resource.Resource
      org.linkedin.glu.agent.rest.resources.BaseResource
          org.linkedin.glu.agent.rest.resources.HostResource

class HostResource
extends BaseResource

Handles resources to get info about the host

Authors:
ypujante@linkedin.com


Field Summary
 
Fields inherited from class BaseResource
MODULE, log
 
Constructor Summary
HostResource(Context context, Request request, Response response)

 
Method Summary
boolean allowGet()

Representation represent(Variant variant)

GET: return information about the host

 
Methods inherited from class BaseResource
getAgent, getPath, getResourceMountPoint, noException, toArgs, toArgs, toRepresentation
 

Constructor Detail

HostResource

HostResource(Context context, Request request, Response response)


 
Method Detail

allowGet

boolean allowGet()


represent

Representation represent(Variant variant)
GET: return information about the host


 

Groovy Documentation