eu.larkc.core.endpoint.test
Class TestEndpoint

java.lang.Object
  extended by org.restlet.Restlet
      extended by org.restlet.Application
          extended by eu.larkc.core.endpoint.test.TestEndpoint
All Implemented Interfaces:
org.restlet.Uniform

public class TestEndpoint
extends org.restlet.Application

This class implements an endpoint for testing purpose.

Author:
norlan

Constructor Summary
TestEndpoint(Endpoint endpoint)
          Constructor that takes the executor as parameter.
 
Method Summary
 org.restlet.Restlet createInboundRoot()
          Creates a root Restlet that will receive all incoming calls.
 Endpoint getEndpoint()
          Getter.
 
Methods inherited from class org.restlet.Application
createOutboundRoot, createRoot, getConnectorService, getConverterService, getCurrent, getDecoderService, getFinderClass, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getRoot, getServices, getStatusService, getTaskService, getTunnelService, handle, setClientRoot, setConnectorService, setContext, setConverterService, setCurrent, setDecoderService, setFinderClass, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setRangeService, setRoles, setRoot, setRoot, setStatusService, setTaskService, setTunnelService, start, stop
 
Methods inherited from class org.restlet.Restlet
getApplication, getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setDescription, setName, setOwner
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestEndpoint

public TestEndpoint(Endpoint endpoint)
Constructor that takes the executor as parameter.

Parameters:
endpoint - the executor that is responsible for this endpoint
Method Detail

createInboundRoot

public org.restlet.Restlet createInboundRoot()
Creates a root Restlet that will receive all incoming calls.

Overrides:
createInboundRoot in class org.restlet.Application

getEndpoint

public Endpoint getEndpoint()
Getter. Retrieves the endpoint.

Returns:
the endpoint