DocsRoxen2.1Programmer ManualJava
   

  • Frame
  • HTTP
  • RoxenLib
  • Module
  • AbstractLocationModule
  • RoxenConfiguration
  • RoxenRequest
  • RoxenResponse
  • RoxenFileResponse
  • RoxenStringResponse
  • RoxenRXMLResponse
  • ExperimentalModule
  • FileExtensionModule
  • LocationModule
  • ParserModule
  • ProviderModule
  • SecurityModule
  • SimpleTagCaller
  • UniqueModule
  • RoxenRequest

    : Class RoxenRequest

    com.roxen.roxen
    Class RoxenRequest


    java.lang.Object
      |
      +--com.roxen.roxen.RoxenRequest
    public class RoxenRequest
    extends java.lang.Object

    A class representing requests from clients.

    Field Summary
     java.lang.String clientprot
              The protocol actually requested by the client
     RoxenConfiguration conf
              The virtual server which is handling this request
     java.lang.String method
              The method of the request, such as "GET" or "POST"
     java.lang.String notQuery
              The requested URL path, without any query part
     java.lang.String prot
              The protocol used when talking to the client, such as "HTTP/1.1" or "FTP"
     java.lang.String query
              The query part of the requested URL path, if any
     java.lang.String raw
              The exact text of the client's request, if available
     java.lang.String rawURL
              The requested URL path, exactly as sent by the client
     java.lang.String realfile
              The filename of the file in the host filesystem used to satisfy this request, if any
     java.lang.String remoteaddr
              The IP address of the client system
     java.lang.String virtfile
              The pathname of the resource in the namespace of the virtual server used to satisfy this request, if any
     
    Method Summary
     RoxenConfiguration configuration()
              Returns the configuration object of the virtual server by which this request is handled
     java.util.Set pragma()
              Returns a Set with all pragmas sent by the client
     java.util.Map requestHeaders()
              Returns a Map with all the headers of the request
     java.util.Set supports()
              Returns a Set with all known supported features of the client
     java.util.Map variables()
              Returns a Map with all the query variables of the request
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    conf


    public final RoxenConfiguration conf
    The virtual server which is handling this request

    rawURL


    public final java.lang.String rawURL
    The requested URL path, exactly as sent by the client

    prot


    public final java.lang.String prot
    The protocol used when talking to the client, such as "HTTP/1.1" or "FTP"

    clientprot


    public final java.lang.String clientprot
    The protocol actually requested by the client

    method


    public final java.lang.String method
    The method of the request, such as "GET" or "POST"

    realfile


    public final java.lang.String realfile
    The filename of the file in the host filesystem used to satisfy this request, if any

    virtfile


    public final java.lang.String virtfile
    The pathname of the resource in the namespace of the virtual server used to satisfy this request, if any

    raw


    public final java.lang.String raw
    The exact text of the client's request, if available

    query


    public final java.lang.String query
    The query part of the requested URL path, if any

    notQuery


    public final java.lang.String notQuery
    The requested URL path, without any query part

    remoteaddr


    public final java.lang.String remoteaddr
    The IP address of the client system
    Method Detail

    configuration


    public final RoxenConfiguration configuration()
    Returns the configuration object of the virtual server by which this request is handled
    Returns:
    the configuration

    variables


    public java.util.Map variables()
    Returns a Map with all the query variables of the request
    Returns:
    the query variables

    requestHeaders


    public java.util.Map requestHeaders()
    Returns a Map with all the headers of the request
    Returns:
    the headers

    supports


    public java.util.Set supports()
    Returns a Set with all known supported features of the client
    Returns:
    the feature set

    pragma


    public java.util.Set pragma()
    Returns a Set with all pragmas sent by the client
    Returns:
    the pragmas