Commit 4777e26e authored by nshah's avatar nshah

OCVET-258, applying patch from Craig P, 02/May/13, 10:32am

parent 426dc8e6
......@@ -70,15 +70,34 @@ public class NetworkInterface
}
/**
* Gets the <code>InetAddress</code> of this interface.
* Gets the <code>InetAddress</code> of this interface. Returns one of the
* <code>InetAddress</code> instances in the array returned by the
* <code>getInetAddresses</code> method. If the array contains multiple
* <code>InetAddress</code> instances, unless specified elsewhere, the
* determination of which <code>InetAddress</code> to return is
* implementation specific.
*
* @return The <code>InetAddress</code> of this interface.
* @see NetAuthorizationHandler2#notifyActivityStart
* @see NetAuthorizationHandler2#notifyAction
* @see HttpRequestResolutionHandler#resolveHttpRequest
*/
public InetAddress getInetAddress()
{
return null;
}
/**
* Gets an array of <code>InetAddress</code> containing all of the IP addresses
* configured for this <code>NetworkInterface</code>.
*
* @return The array of <code>InetAddress</code> for this interface.
*/
public InetAddress [] getInetAddresses()
{
return null;
}
/**
* Gets the MAC address of this interface.
*
......
......@@ -27,7 +27,10 @@ public interface NetAuthorizationHandler2
* @param request The HTTP message request;
* i.e., the request line and subsequent message headers.
* @param networkInterface The <code>NetworkInterface</code> the session
* identified by <code>activityID</code> took place on.
* identified by <code>activityID</code> took place on. The
* <code>getInetAddress</code> method of this parameter SHALL return
* the <code>InetAddress</code> on which the <code>request</code> was
* received.
*
* @return true if the activity is accepted; false otherwise.
*/
......@@ -63,7 +66,9 @@ public interface NetAuthorizationHandler2
* @param request The HTTP message request;
* i.e., the request line and subsequent message headers.
* @param networkInterface The <code>NetworkInterface</code> the session
* identified by <code>activityID</code> took place on.
* identified by <code>activityID</code> took place on. The
* <code>getInetAddress</code> method of this parameter SHALL return the
* <code>InetAddress</code> on which the <code>request</code> was received.
*
* @return true if the activity is accepted; false otherwise.
*/
......
......@@ -26,7 +26,9 @@ public interface HttpRequestResolutionHandler {
* @param request The HTTP message request;
* i.e., the request line and subsequent message headers.
* @param networkInterface The <code>NetworkInterface</code> the request
* came on.
* came on. The <code>getInetAddress</code> method of this parameter
* SHALL return the <code>InetAddress</code> on which the
* <code>request</code> was received.
*
* @return URL of the content binary if a match is found,
* null otherwise.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment