org.exist.atom.http
Class HttpRequestMessage
java.lang.Object
org.exist.atom.http.HttpRequestMessage
- All Implemented Interfaces:
- IncomingMessage
public class HttpRequestMessage
- extends Object
- implements IncomingMessage
- Author:
- R. Alexander Milowski
HttpRequestMessage
public HttpRequestMessage(HttpServletRequest request,
String path,
String base)
- Creates a new instance of HttpRequestMIMEMessage
getMethod
public String getMethod()
- Specified by:
getMethod
in interface IncomingMessage
getPath
public String getPath()
- Specified by:
getPath
in interface IncomingMessage
getParameter
public String getParameter(String name)
- Specified by:
getParameter
in interface IncomingMessage
getHeader
public String getHeader(String key)
- Specified by:
getHeader
in interface IncomingMessage
getContentLength
public int getContentLength()
- Specified by:
getContentLength
in interface IncomingMessage
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface IncomingMessage
- Throws:
IOException
getReader
public Reader getReader()
throws IOException
- Specified by:
getReader
in interface IncomingMessage
- Throws:
IOException
getModuleBase
public String getModuleBase()
- Specified by:
getModuleBase
in interface IncomingMessage
getRequest
public HttpServletRequest getRequest()
- Specified by:
getRequest
in interface IncomingMessage
Copyright (C) Wolfgang Meier. All rights reserved.