public abstract class AbstractRESTRemoteControlMethod extends Object implements RESTRemoteControlMethod
| Constructor and Description |
|---|
AbstractRESTRemoteControlMethod(int port,
String path)
Creates a new AbstractRestRemoteControlMethod object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPath()
Getter for Path.
|
int |
getPort()
Getter for Port.
|
String |
toString()
return as String.
|
public AbstractRESTRemoteControlMethod(int port,
String path)
port - portpath - pathNullPointerException - "path must not be null"IllegalArgumentException - "path must not be empty" or "path has to start with '/'"public int getPort()
getPort in interface RESTRemoteControlMethodportpublic String getPath()
getPath in interface RESTRemoteControlMethodpathCopyright © 2012–2026 cismet GmbH. All rights reserved.