axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayachan...@apache.org
Subject svn commit: r219465 - in /webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server: ./ JAXRPCServlet.java ServletEndpointContextImpl.java
Date Mon, 18 Jul 2005 10:54:17 GMT
Author: jayachandra
Date: Mon Jul 18 03:53:16 2005
New Revision: 219465

URL: http://svn.apache.org/viewcvs?rev=219465&view=rev
Log: (empty)

Added:
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/ServletEndpointContextImpl.java

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java?rev=219465&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
(added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/JAXRPCServlet.java
Mon Jul 18 03:53:16 2005
@@ -0,0 +1,119 @@
+/**
+ * 
+ */
+package org.apache.axis.jaxrpc.server;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * @author sunja07
+ *
+ */
+public class JAXRPCServlet extends HttpServlet {
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doDelete(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doDelete(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doDelete(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doGet(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doHead(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doHead(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doHead(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doOptions(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doOptions(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doOptions(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doPost(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doPut(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doPut(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doPut(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#doTrace(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void doTrace(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.doTrace(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#getLastModified(javax.servlet.http.HttpServletRequest)
+	 */
+	@Override
+	protected long getLastModified(HttpServletRequest arg0) {
+		// TODO Auto-generated method stub
+		return super.getLastModified(arg0);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
+	 */
+	@Override
+	protected void service(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.service(arg0, arg1);
+	}
+
+	/* (non-Javadoc)
+	 * @see javax.servlet.http.HttpServlet#service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
+	 */
+	@Override
+	public void service(ServletRequest arg0, ServletResponse arg1) throws ServletException,
IOException {
+		// TODO Auto-generated method stub
+		super.service(arg0, arg1);
+	}
+
+	/**
+	 * 
+	 */
+	public JAXRPCServlet() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/ServletEndpointContextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/ServletEndpointContextImpl.java?rev=219465&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/ServletEndpointContextImpl.java
(added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/jaxws/src/org/apache/axis/jaxrpc/server/ServletEndpointContextImpl.java
Mon Jul 18 03:53:16 2005
@@ -0,0 +1,82 @@
+package org.apache.axis.jaxrpc.server;
+
+import java.security.Principal;
+
+import javax.servlet.ServletContext;
+import javax.servlet.http.HttpSession;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.server.ServletEndpointContext;
+
+public class ServletEndpointContextImpl implements ServletEndpointContext {
+
+	public ServletEndpointContextImpl() {
+		super();
+		// TODO Auto-generated constructor stub
+	}
+
+	/**
+	 * The method getMessageContext returns the MessageContext targeted for this endpoint instance.
This enables the
+	 * service endpoint instance to acccess the MessageContext propagated by request HandlerChain
(and its contained
+	 * Handler instances) to the target endpoint instance and to share any SOAP message processing
related context. The
+	 * endpoint instance can access and manipulate the MessageContext and share the SOAP message
processing related
+	 * context with the response HandlerChain.
+	 * 
+	 * @return MessageContext; If there is no associated MessageContext, this method returns
null.
+	 * @throws java.lang.IllegalStateException - if this method is invoked outside a remote
method implementation by a service endpoint instance.
+	 */
+	public MessageContext getMessageContext() throws IllegalStateException {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	/**
+	 * Returns a java.security.Principal instance that contains the name of the authenticated
user for the current method
+	 * invocation on the endpoint instance. This method returns null if there is no associated
principal yet. The underlying
+	 * JAX-RPC runtime system takes the responsibility of providing the appropriate authenticated
principal for a remote method
+	 * nvocation on the service endpoint instance.
+	 * 
+	 * @return A java.security.Principal for the authenticated principal associated with the
current invocation on the servlet  endpoint instance; Returns null if there no authenticated
user associated with a method invocation.
+	 */
+	public Principal getUserPrincipal() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+	/**
+	 * The getHttpSession method returns the current HTTP session (as a javax.servlet.http.HTTPSession).
When
+	 * invoked by the service endpoint within a remote method implementation, the getHttpSession
returns the HTTP session
+	 * associated currently with this method invocation. This method returns null if there is
no HTTP session currently active
+	 * and associated with this service endpoint. An endpoint class should not rely on an active
HTTP session being always there;
+	 * the underlying JAX-RPC runtime system is responsible for managing whether or not there
is an active HTTP session.
+	 * 
+	 * @return The HTTP session associated with the current invocation or null if there is no
active session.
+	 * @throws JAXRPCException - If this method invoked by any non-HTTP bound endpoint
+	 */
+	public HttpSession getHttpSession() throws JAXRPCException {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	/**
+	 * The method getServletContext returns the ServletContext associated with the web application
that contain this
+	 * endpoint. According to the Servlet specification, There is one context per web application
(installed as a WAR) per JVM .
+	 * A servlet based service endpoint is deployed as part of a web application.
+	 * 
+	 * @return ServletContext
+	 */
+	public ServletContext getServletContext() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	/**
+	 * @param role - a String specifying the name of the role
+	 * @return a boolean indicating whether the authenticated user associated with the current
method invocation belongs to a
+	 * given role; false if the user has not been authenticated
+	 */
+	public boolean isUserInRole(String role) {
+		// TODO Auto-generated method stub
+		return false;
+	}
+
+}



Mime
View raw message