public interface Emulator
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getAddress()
get the URL address.
|
java.lang.String |
getContextPath()
get the context path of the application
|
java.lang.String |
getHost()
get the host address the emulator bound.
|
int |
getPort()
get the port number the emulator bound.
|
java.util.Map<java.lang.String,java.lang.Object> |
getRequestAttributes()
get the attributes of last request.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getRequestParameters()
get the parameters of last request.
|
javax.servlet.ServletContext |
getServletContext()
get the reference of servlet context in the emulator.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSessionAttributes()
get the session's attributes of last request.
|
java.lang.String |
getSessionId()
get the session ID of last request.
|
java.lang.String getHost()
int getPort()
java.lang.String getAddress()
java.lang.String getContextPath()
javax.servlet.ServletContext getServletContext()
java.util.Map<java.lang.String,java.lang.Object> getRequestAttributes()
java.util.Map<java.lang.String,java.lang.String[]> getRequestParameters()
java.util.Map<java.lang.String,java.lang.Object> getSessionAttributes()
java.lang.String getSessionId()
void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
Copyright © 2019 Potix Corporation. All rights reserved.