net.ubisoa.geolocation
Class LocationResource

java.lang.Object
  extended by org.restlet.resource.Handler
      extended by org.restlet.resource.Resource
          extended by net.ubisoa.geolocation.LocationResource

public class LocationResource
extends org.restlet.resource.Resource


Constructor Summary
LocationResource(org.restlet.Context context, Request request, Response response)
           
 
Method Summary
 void acceptRepresentation(Representation entity)
           
 Representation represent(Variant variant)
           
 
Methods inherited from class org.restlet.resource.Resource
allowDelete, allowGet, allowPost, allowPut, getPreferredVariant, getVariants, handleDelete, handleGet, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, removeRepresentations, represent, setAvailable, setModifiable, setNegotiateContent, setReadable, setVariants, storeRepresentation
 
Methods inherited from class org.restlet.resource.Handler
allowHead, allowOptions, generateRef, getAllowedMethods, getApplication, getContext, getLogger, getMatrix, getQuery, getRequest, getResponse, handleHead, handleOptions, setContext, setRequest, setResponse, updateAllowedMethods
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationResource

public LocationResource(org.restlet.Context context,
                        Request request,
                        Response response)
Method Detail

represent

public Representation represent(Variant variant)
                         throws org.restlet.resource.ResourceException
Overrides:
represent in class org.restlet.resource.Resource
Throws:
org.restlet.resource.ResourceException

acceptRepresentation

public void acceptRepresentation(Representation entity)
                          throws org.restlet.resource.ResourceException
Overrides:
acceptRepresentation in class org.restlet.resource.Resource
Throws:
org.restlet.resource.ResourceException