org.apache.tomcat.modules.server
Class JNIRequestAdapter

java.lang.Object
  extended byorg.apache.tomcat.core.Request
      extended byorg.apache.tomcat.modules.server.JNIRequestAdapter

public class JNIRequestAdapter
extends Request


Field Summary
 
Fields inherited from class org.apache.tomcat.core.Request
ATTRIB_REAL_REQUEST, attributes, authType, available, charEncoding, child, container, contentLength, contentTypeMB, context, contextM, contextMB, dateFormats, DEFAULT_CHARACTER_ENCODING, didReadFormData, errorException, handler, headers, jvmRoute, localHost, MAX_INCLUDE, methodMB, notAuthenticated, params, parent, pathInfoMB, principal, protoMB, queryMB, remoteAddrMB, remoteHostMB, remoteUser, reqRoles, reqSessionId, requestFacade, response, schemeMB, scookies, security, serverNameMB, serverPort, serverSession, servletPathMB, sessionId, SESSIONID_FROM_COOKIE, SESSIONID_FROM_URL, sessionIdSource, state, STATE_CONTEXT_MAPPED, STATE_INVALID, STATE_MAPPED, STATE_NEW, STATE_UNUSED, top, unparsedURIMB, uriMB, urlDecoder, userRoles
 
Constructor Summary
JNIRequestAdapter(ContextManager cm, JNIConnectionHandler h)
           
 
Method Summary
 int doRead(byte[] b, int off, int len)
          Fill in the buffer.
protected  void readNextRequest(long s, long l)
           
 
Methods inherited from class org.apache.tomcat.core.Request
contentType, doRead, getAttribute, getAttributeNames, getAuthType, getAvailable, getCharacterEncoding, getCharEncoding, getChild, getContainer, getContentLength, getContentType, getContext, getContextManager, getCookies, getDateHeader, getFacade, getHandler, getHeader, getHeaderNames, getHeaders, getJvmRoute, getLocalHost, getMethod, getMimeHeaders, getNote, getNote, getParent, getRemoteUser, getRequestedSessionId, getRequestURI, getRequiredRoles, getResponse, getSecurityContext, getServerPort, getSession, getSessionId, getSessionIdSource, getState, getTop, getURLDecoder, getUserPrincipal, getUserRoles, handlePostParameters, handleQueryParameters, initRequest, isSecure, isUserInRole, method, parameters, pathInfo, protocol, query, queryString, readBody, recycle, remoteAddr, remoteHost, removeAttribute, requestURI, scheme, serverName, servletPath, setAttribute, setAuthType, setAvailable, setCharEncoding, setChild, setContainer, setContentLength, setContentType, setContentType, setContext, setContextManager, setFacade, setHandler, setJvmRoute, setLocalHost, setMethod, setNote, setNote, setParent, setRemoteUser, setRequestedSessionId, setRequestURI, setRequiredRoles, setResponse, setSecurityContext, setServerPort, setSession, setSessionId, setSessionIdSource, setState, setUserPrincipal, setUserRoles, toString, unparsedURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JNIRequestAdapter

public JNIRequestAdapter(ContextManager cm,
                         JNIConnectionHandler h)
Method Detail

doRead

public int doRead(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Description copied from class: Request
Fill in the buffer. This method is probably easier to implement than previous. This method should only be called from SerlvetInputStream implementations. No need to implement it if your adapter implements ServletInputStream.

Overrides:
doRead in class Request
Throws:
java.io.IOException

readNextRequest

protected void readNextRequest(long s,
                               long l)
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright ? 2001 Apache Software Foundation. All Rights Reserved.