Searched refs:HttpContext (Results 1 - 25 of 67) sorted by relevance

123

/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DHttpContext.java32 * HttpContext represents a mapping between the root URI path of an application
36 * HttpContext instances are created by the create methods in HttpServer
39 * A chain of {@link Filter} objects can be added to a HttpContext. All exchanges processed by the
43 public abstract class HttpContext { class
45 protected HttpContext () { method in class:HttpContext
93 * Sets the Authenticator for this HttpContext. Once an authenticator
108 * @return this HttpContext's Authenticator, or <code>null</code>
H A DHttpServer.java47 * to a HttpServer is encapsulated by a {@link HttpContext} object. HttpContexts
55 * <b>Mapping request URIs to HttpContext paths</b><p>
57 * the appropriate HttpContext (and handler) is located by finding the context
191 * Creates a HttpContext. A HttpContext represents a mapping from a
200 * to HttpContext instances.
207 public abstract HttpContext createContext (String path, HttpHandler handler) ;
210 * Creates a HttpContext without initially specifying a handler. The handler must later be specified using
211 * {@link HttpContext#setHandler(HttpHandler)}. A HttpContext represent
[all...]
H A DHttpExchange.java113 * Get the HttpContext for this exchange
114 * @return the HttpContext
116 public abstract HttpContext getHttpContext ();
259 * If an authenticator is set on the HttpContext that owns this exchange,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/
H A DHttpEndpoint.java28 import com.sun.net.httpserver.HttpContext;
41 * Hides {@link HttpContext} so that {@link EndpointImpl}
42 * may load even without {@link HttpContext}.
52 private HttpContext httpContext;
68 if (serverContext instanceof javax.xml.ws.spi.http.HttpContext) {
69 setHandler((javax.xml.ws.spi.http.HttpContext)serverContext);
72 if (serverContext instanceof HttpContext) {
73 this.httpContext = (HttpContext)serverContext;
78 serverContext.getClass(), HttpContext.class,
79 javax.xml.ws.spi.http.HttpContext
[all...]
H A DServerMgr.java28 import com.sun.net.httpserver.HttpContext;
64 * Creates a HttpContext at the given address. If there is already a server
68 /*package*/ HttpContext createContext(String address) {
88 HttpContext context = server.createContext(path);
98 HttpContext context = server.createContext(url.getPath());
110 /*package*/ void removeContext(HttpContext context) {
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/http/
H A DHttpContext.java32 * HttpContext represents a mapping between the root URI path of a web
37 * web service requests to corresponding HttpContext objects.
42 public abstract class HttpContext { class
48 * {@link Endpoint#publish(HttpContext)} to handle
62 * path based on how it matches request URIs to this HttpContext object.
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DLogFilter.java52 HttpContext context = t.getHttpContext();
60 public void init (HttpContext ctx) {}
66 public void destroy (HttpContext c){}
H A DTest14.java66 public void destroy(HttpContext c) {}
67 public void init(HttpContext c) {}
82 HttpContext ctx = server.createContext ("/test", handler);
H A DTest10.java48 HttpContext c2 = server.createContext ("/test", handler);
H A DTest11.java57 HttpContext ctx = server.createContext (
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DHeadTest.java36 import com.sun.net.httpserver.HttpContext;
52 HttpContext chunkedContext = server.createContext("/chunked");
71 HttpContext clContext = server.createContext("/content");
H A DB6339483.java27 * @summary NullPointerException when creating a HttpContext with no handler
45 HttpContext ctx = server.createContext ("/test");
H A DB6421581.java51 HttpContext context = server.createContext("/hello");
H A DB6433018.java68 HttpContext ctx = server.createContext ("/test", handler);
H A DB6526158.java49 HttpContext ctx = server.createContext ("/test", handler);
H A DB6526913.java47 HttpContext ctx = server.createContext ("/test", handler);
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DB5017051.java130 HttpContext ctx = httpServer.createContext("/test/", new MyHandler());
136 HttpContext ctx2 = httpServer.createContext("/test2/", new MyHandler2());
217 public void destroy(HttpContext c) { }
219 public void init(HttpContext c) { }
H A DUserAuth.java86 HttpContext ctx = httpServer.createContext("/redirect/", new RedirectHandler());
87 HttpContext ctx1 = httpServer.createContext("/doStuff/", new HasAuthHandler());
H A DBasicLongCredentials.java31 import com.sun.net.httpserver.HttpContext;
56 HttpContext ctx = server.createContext("/test", handler);
H A DAsyncDisconnect.java98 HttpContext ctx = httpServer.createContext("/test/", httpHandler);
H A DStreamingOutputStream.java90 HttpContext ctx = httpServer.createContext("/test/", new MyHandler());
H A DUserCookie.java83 HttpContext ctx = httpServer.createContext("/test/", new MyHandler());
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/
H A DEndpoint.java31 import javax.xml.ws.spi.http.HttpContext;
335 public void publish(HttpContext serverContext) {
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DHttpServerImpl.java85 public void removeContext (HttpContext context) throws IllegalArgumentException {
H A DHttpsServerImpl.java93 public void removeContext (HttpContext context) throws IllegalArgumentException {

Completed in 5183 milliseconds

123