FileDocCategorySizeDatePackage
TCPServletContext.javaAPI DocExample3351Tue May 29 16:57:10 BST 2007com.sun.xml.ws.transport.tcp.server

TCPServletContext

public final class TCPServletContext extends Object implements TCPContext
author
Alexey Stashok

Fields Summary
private final ServletContext
servletContext
private final Map
attributes
Constructors Summary
public TCPServletContext(ServletContext servletContext)

    
        
        this.servletContext = servletContext;
    
Methods Summary
public java.lang.ObjectgetAttribute(java.lang.String name)

        return attributes.get(name);
    
public java.net.URLgetResource(java.lang.String resource)

        return servletContext.getResource(resource);
    
public java.io.InputStreamgetResourceAsStream(java.lang.String resource)

        return servletContext.getResourceAsStream(resource);
    
public java.util.SetgetResourcePaths(java.lang.String path)

        return (Set<String>) servletContext.getResourcePaths(path);
    
public voidsetAttribute(java.lang.String name, java.lang.Object value)

        attributes.put(name, value);