test.org.benow.service
Class TestServiceImpl
java.lang.Object
test.org.benow.service.TestServiceImpl
- All Implemented Interfaces:
- org.benow.java.spec.Markup, Service, TestService
public class TestServiceImpl
- extends java.lang.Object
- implements TestService
This is a test service, which is used to test the service api. It
demonstrates the annotations required for a fully described service.
- Author:
- andy@benow.ca
| Nested classes/interfaces inherited from interface org.benow.java.spec.Markup |
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription |
|
Constructor Summary |
protected |
TestServiceImpl()
Private or protected parameter-less constructors are required for reflection based class instantiation |
|
Method Summary |
java.lang.String |
echo(java.io.File messageFile)
Echo's contents of a file |
java.lang.String |
echo(java.lang.String toEcho)
|
java.util.List<java.lang.String> |
echo(java.lang.String returnedMessage,
int repeats)
|
java.lang.String |
secureEcho(java.lang.String toEcho)
|
java.lang.String |
spew()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestServiceImpl
protected TestServiceImpl()
- Private or protected parameter-less constructors are required for reflection based class instantiation
echo
public java.lang.String echo(java.lang.String toEcho)
throws java.net.MalformedURLException,
java.io.IOException
- Specified by:
echo in interface TestService
- Throws:
java.net.MalformedURLException
java.io.IOException
echo
public java.util.List<java.lang.String> echo(java.lang.String returnedMessage,
int repeats)
throws java.net.MalformedURLException,
java.io.IOException
- Specified by:
echo in interface TestService
- Throws:
java.net.MalformedURLException
java.io.IOException
secureEcho
public java.lang.String secureEcho(java.lang.String toEcho)
- Specified by:
secureEcho in interface TestService
spew
public java.lang.String spew()
- Specified by:
spew in interface TestService
echo
public java.lang.String echo(java.io.File messageFile)
throws java.io.IOException
- Description copied from interface:
TestService
- Echo's contents of a file
- Specified by:
echo in interface TestService
- Returns:
-
- Throws:
java.io.IOException