Class GlueEdgeServerAdapter

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.poscoict.glueframework.web.GlueEdgeServerAdapter
All Implemented Interfaces:
Servlet, ServletConfig, Serializable

public class GlueEdgeServerAdapter extends HttpServlet
Edge Server를 통해 Senser, Detector, RFID 등 단말에서 들어오는 정보를 수신하는 Class.
 web.xml 파일 내용
 
 <servlet>
     <servlet-name>HttpReceiver</servlet-name>
     <servlet-class>com.poscoict.glueframework.web.GlueEdgeServerAdapter</servlet-class>
     <init-param>
         <param-name>NAME_MESSAGE</param-name>
         <param-value>ITRS</param-value>
     </init-param>
 </servlet>
 <servlet-mapping>
     <servlet-name>HttpReceiver</servlet-name>
     <url-pattern>*.rfid</url-pattern>
 </servlet-mapping>
 
 url
 http://{ip}:{port}/{context-root}/HttpReceiver.rfid
 
 init-param GlueEdgeServerAdapter servlet의 init-param은 다음과 같다.
 - UD_SC_SUCCESS : HttpResponse 정상 상태코드 정의, default 200 
 - UD_SC_FAILURE : HttpResponse 에러 상태코드 정의, default 406 
 - NAME_MESSAGE : HttpRequest의 parameter key, default ITRS
 
See Also: