목록JAVA (6)
나만 알 수 없어서 만든 블로그
서블릿 관련 Listener 추상 메서드 기능 ServletContextAttributeListener attributeAdded() Context 객체에 속성 추가/제거/수정 이벤트 발생 시 처리 attributeRemoved() attributeReplaced() HttpSessionListener sessionCreated() 세션 객체의 생성/소멸 이벤트 발생 시 처리 sessionDestroyed() ServletRequestListener requestInitialized() 클라이언트 요청 이벤트 발생 시 처리 requestDestroyed() ServletRequestAttrivuteListener attributeAdded() 요청 객체에 속성 추가/제거/수정 이벤트 발생 시 처리 att..
메서드 기능 destroy() 필터 소멸 시 컨테이너에 의해 호출되어 종료 작업 수행 doFilter() 요청/응답 시 컨테이너에 의해 호출되어 기능 수행 init() 필터 생성 시 컨테이너에 의해 호출되어 초기화 작업 수행 getFilterName() 필터 이름을 반환 getInitParameter() 매개변수 name에 값을 반환 getServletContext() 서블릿 컨텍스트 객체를 반환
반환 타입 메서드 설명 Object getAttribute (String name) 속성 이름이 name인 속성 값을 Object 타입으로 반환 없으면 null로 반환 Enumeration getAttributeNames() 세션 속성 이름들을 Enumeration 객체 타입으로 반환 long getCreationTime() 1970년 1월 1일 0시 0초 기준으로 현재 세션이 생성된 시간까지 경과한 시간을 계산하여 1/1000초 값으로 반환 String getId() 세션에 할당된 고유 식별자를 String으로 반환 int getMaxInactiveInterval() 세션 유지 시간을 int로 반환 void invalidate() 현재 생성된 세션을 소멸 boolean isNew() 최초로 생성된 세션..
메서드 설명 getComment() 쿠키에 대한 설명을 가져옴 getDomain() 쿠키의 유효한 도메인 정보를 가져옴 getMaxAge() 쿠키의 유효 기간을 가져옴 getName() 쿠키에 설정된 이름을 가져옴 getPath() 쿠키의 디렉토리 정보를 가져옴 getValue() 쿠키의 설정 값을 가져옴 setComment(**String) 쿠키에 대한 설명을 설정 setDomain(**String) 쿠키의 도메인 설정 setMaxAge(**int) 쿠키의 유효 기간을 설정 setValue(**String) 쿠키의 값을 설정

Method body // ${todo} Auto-generated method stub catch block body // ${todo} Auto-generated catch block constructor body // ${todo} Auto-generated constructor stub /* Comments */ Methods /** * ${tags} */ Constructors /** * ${tags} */ Delegate methods /** * ${tags} * ${see_to_target} */ types /** * @author ${user} * * ${tags} */ file, field /** * */ Getters /** * @return the ${bare_field_name} *..