public static class JSR356WebsocketInitializer.FakeServletConfig extends Object
ServletRegistration
and its ServletContext
.Constructor and Description |
---|
FakeServletConfig(ServletRegistration servletRegistration,
ServletContext servletContext)
Creates an instance based on the given servlet registration and
servlet context.
|
Modifier and Type | Method and Description |
---|---|
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
ServletContext |
getServletContext() |
String |
getServletName() |
public FakeServletConfig(ServletRegistration servletRegistration, ServletContext servletContext)
servletRegistration
- the registration to read fromservletContext
- the context to read frompublic String getServletName()
public ServletContext getServletContext()
public Enumeration<String> getInitParameterNames()
Copyright © 2018. All rights reserved.