org.mortbay.http.ajp

Class AJP13Connection

public class AJP13Connection extends HttpConnection

Version: $Id: AJP13Connection.java,v 1.38 2006/11/22 20:21:30 gregwilkins Exp $

Author: Greg Wilkins (gregw)

Constructor Summary
AJP13Connection(AJP13Listener listener, InputStream in, OutputStream out, Socket socket, int bufferSize)
Method Summary
protected voidcommit()
voiddestroy()
protected voidfirstWrite()
StringgetDefaultScheme()
Get the listeners Default scheme.
StringgetRemoteAddr()
Get the Remote address.
StringgetRemoteHost()
Get the Remote address.
InetAddressgetRemoteInetAddress()
Get the Remote address.
StringgetServerName()
Get the listeners HttpServer .
intgetServerPort()
Get the listeners Port .
booleanhandleNext()
booleanisSSL()
protected voidsetupOutputStream()

Constructor Detail

AJP13Connection

public AJP13Connection(AJP13Listener listener, InputStream in, OutputStream out, Socket socket, int bufferSize)

Method Detail

commit

protected void commit()

destroy

public void destroy()

firstWrite

protected void firstWrite()

getDefaultScheme

public String getDefaultScheme()
Get the listeners Default scheme. Conveniance method equivalent to getListener().getDefaultProtocol().

Returns: HttpServer.

getRemoteAddr

public String getRemoteAddr()
Get the Remote address.

Returns: the remote host name

getRemoteHost

public String getRemoteHost()
Get the Remote address.

Returns: the remote host name

getRemoteInetAddress

public InetAddress getRemoteInetAddress()
Get the Remote address.

Returns: the remote address

getServerName

public String getServerName()
Get the listeners HttpServer . Conveniance method equivalent to getListener().getHost().

Returns: HttpServer.

getServerPort

public int getServerPort()
Get the listeners Port . Conveniance method equivalent to getListener().getPort().

Returns: HttpServer.

handleNext

public boolean handleNext()

isSSL

public boolean isSSL()

setupOutputStream

protected void setupOutputStream()
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.