com.sun.slamd.common.http.util
Class ParsedURL

java.lang.Object
  extended bycom.sun.slamd.common.http.util.ParsedURL

public class ParsedURL
extends java.lang.Object


Constructor Summary
ParsedURL()
          Creates a new instance of ParsedURL
ParsedURL(java.lang.String host, int port, java.lang.String uri, boolean useSSL, java.net.SocketAddress socket)
           
 
Method Summary
 java.lang.String cookieHeader(java.util.HashMap cookieState)
           
 java.lang.String getHost()
          Getter for property host.
 int getPort()
          Getter for property port.
 byte[] getRequest(java.util.HashMap cookieState, boolean authenticate, java.lang.String uid, java.lang.String password)
           
 java.net.SocketAddress getSocket()
          Getter for property socket.
 java.lang.String getUri()
          Getter for property uri.
 void setHost(java.lang.String host)
          Setter for property host.
 void setPort(int port)
          Setter for property port.
 void setSocket(java.net.SocketAddress socket)
          Setter for property socket.
 void setUri(java.lang.String uri)
          Setter for property uri.
 void setUseSSL(boolean useSSL)
          Setter for property useSSL.
 boolean useSSL()
          Getter for property useSSL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsedURL

public ParsedURL()
Creates a new instance of ParsedURL


ParsedURL

public ParsedURL(java.lang.String host,
                 int port,
                 java.lang.String uri,
                 boolean useSSL,
                 java.net.SocketAddress socket)
Method Detail

getHost

public java.lang.String getHost()
Getter for property host.

Returns:
Value of property host.

setHost

public void setHost(java.lang.String host)
Setter for property host.

Parameters:
host - New value of property host.

getPort

public int getPort()
Getter for property port.

Returns:
Value of property port.

setPort

public void setPort(int port)
Setter for property port.

Parameters:
port - New value of property port.

getUri

public java.lang.String getUri()
Getter for property uri.

Returns:
Value of property uri.

setUri

public void setUri(java.lang.String uri)
Setter for property uri.

Parameters:
uri - New value of property uri.

getSocket

public java.net.SocketAddress getSocket()
Getter for property socket.

Returns:
Value of property socket.

setSocket

public void setSocket(java.net.SocketAddress socket)
Setter for property socket.

Parameters:
socket - New value of property socket.

useSSL

public boolean useSSL()
Getter for property useSSL.

Returns:
Value of property useSSL.

setUseSSL

public void setUseSSL(boolean useSSL)
Setter for property useSSL.

Parameters:
useSSL - New value of property useSSL.

getRequest

public byte[] getRequest(java.util.HashMap cookieState,
                         boolean authenticate,
                         java.lang.String uid,
                         java.lang.String password)

cookieHeader

public java.lang.String cookieHeader(java.util.HashMap cookieState)