public interface IRequestContext extends IExtendedParameterInfo
| Modifier and Type | Method and Description |
|---|---|
DomApplication |
getApplication()
Return the DomApplication instance.
|
String |
getExtension()
Return the name extension of the input URL without it's "." character.
|
String |
getInputPath()
Return the input path relative to the webapp's root.
|
Writer |
getOutputWriter(String contentType,
String encoding)
Returns the buffered writer to use to generate text-based output to this context.
|
String |
getRelativePath(String rel)
Creates a full path from an application-relative path.
|
IRequestResponse |
getRequestResponse() |
IServerSession |
getServerSession(boolean create) |
AppSession |
getSession()
Return this-user's AppSession.
|
String |
getUserAgent()
Returns the value of the "User-Agent" header to determine the browser type.
|
WindowSession |
getWindowSession()
Return the WindowSession for this request.
|
getBrowserVersiongetParameter, getParameterNames, getParameters@Nonnull DomApplication getApplication()
@Nonnull IRequestResponse getRequestResponse()
@Nonnull AppSession getSession()
@Nullable IServerSession getServerSession(boolean create)
@Nonnull WindowSession getWindowSession()
@Nonnull String getExtension()
@Nonnull String getInputPath()
@Nullable String getUserAgent()
@Nonnull String getRelativePath(@Nonnull String rel)
rel - @Nonnull Writer getOutputWriter(@Nonnull String contentType, @Nullable String encoding) throws IOException
IOExceptionCopyright © 2017 etc.to. All rights reserved.