public final class JFPRemote extends Object implements Serializable
Constructor and Description |
---|
JFPRemote(URI in_uri,
JFPUserName in_user,
JFPKey in_key)
Construct a remote.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static JFPRemote |
fromParameters(Map<String,String[]> request)
Read the specification of a remote from an HTTP request.
|
JFPKey |
getKey() |
URI |
getURI() |
JFPUserName |
getUser() |
int |
hashCode() |
String |
toString() |
public JFPRemote(URI in_uri, JFPUserName in_user, JFPKey in_key)
in_uri
- The URI.in_user
- The user.in_key
- The key.public static JFPRemote fromParameters(Map<String,String[]> request) throws JFPExceptionNonexistent, JFPExceptionInvalidArgument
request
- The request.JFPExceptionNonexistent
- If any part of the remote is missing.JFPExceptionInvalidArgument
- If any part of the remote is invalid.public JFPKey getKey()
public URI getURI()
public JFPUserName getUser()
Copyright © 2015 <code@io7m.com> http://io7m.com