com.nesscomputing.httpserver
Class HttpConnector

java.lang.Object
  extended by com.nesscomputing.httpserver.HttpConnector

public class HttpConnector
extends Object

Describes a connector used by a server.


Constructor Summary
HttpConnector(boolean secure, String scheme, String address, int port)
           
 
Method Summary
 boolean equals(Object other)
           
 String getAddress()
          Returns the address for this connector as a string.
 int getPort()
          Returns the system port for this connector.
 String getScheme()
          Returns the scheme for this connector.
 int hashCode()
           
 boolean isSecure()
          Returns true if this is a secure connector.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpConnector

public HttpConnector(boolean secure,
                     @Nonnull
                     String scheme,
                     @Nonnull
                     String address,
                     int port)
Method Detail

isSecure

public boolean isSecure()
Returns true if this is a secure connector.


getPort

public int getPort()
Returns the system port for this connector.


getAddress

public String getAddress()
Returns the address for this connector as a string.


getScheme

public String getScheme()
Returns the scheme for this connector.


equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Ness Computing, Inc.. All Rights Reserved.