検索
全文検索: template_method @study:java:design_pattern 14 ヒット , 最終更新: 17年前 ode java>
abstract class AbstractClass{
final void templateMethod(){
primativeOperation1();... concreteOperation();
}
abstract void primitiveOperation1();
abstract void primitiveOperation2();
final void concreteOperation(){
//concreteOperation() 코드
}
integation @study:java:powermock 8 ヒット , 最終更新: 2週間前 cted method *****
@BeforeClass
protected void setUp() throws Exception {
setUpLog4j();
... eSpecific();
}
@AfterClass
protected void tearDown() throws Exception {
databaseTester.set... );
tearDownHook();
}
protected abstract void prepareSpecific() throws Exception;
protected void tearDownHook() throws Exception {
//NOP
}
rememberme @study:java 7 ヒット , 最終更新: 2週間前 rity.core.Authentication)
*/
@Override
public void onAuthenticationSuccess(HttpServletRequest reques... * private method *****
//authorization
private void doAuthorization(final HttpServletRequest request,... 権限付与、セッションにユーザー情報保持
}//doAuthorization
private void setDefaultTargetUrl(final HttpServletRequest requ... rity.core.Authentication)
*/
@Override
public void onAuthenticationSuccess(HttpServletRequest reques implement4 @study:java:sharepointonline 4 ヒット , 最終更新: 3週間前 = new RestTemplateWithCookies(); ★ポイント1
public void connnectSharePointSiteAndGetCookie(String binaryS... {
return cookies;
}
public synchronized void resetCookies() {
cookies.clear();
}
publ... ethod, new RequestCallback() {
@Override
public void doWithRequest(ClientHttpRequest chr) throws IOExc... ecute
// ***** private method *****
private void processHeaders(HttpHeaders headers) { ★ポイント3
filter @study:java 3 ヒット , 最終更新: 15年前 r implements Filter {
FilterConfig fc;
public void doFilter(ServletRequest req,
... n
chain.doFilter(req, response);
}
public void init(FilterConfig filterConfig) {
this.fc = filterConfig;
}
public void destroy() {
this.fc = null;
}
}
</code>
위의 rad @study:ejb 2 ヒット , 最終更新: 17年前 od의 parameter를 아래와 같이 변경한다.
<code java>
protected void doGet(HttpServletRequest request, HttpServletResp... de>
doGet method안에 다음코드를 입력한다.
<code>
protected void doGet(HttpServletRequest request,
HttpServle logging @study:jsf 2 ヒット , 最終更新: 17年前 ustom 보안을 위한 Filter 클래스의 일부이다.
<code java>
public void doFilter(ServletRequest request, ServletResponse ... null);
}
}
...
public static void reportError(FacesContext facesContext, String mes testdata @study:java:dbunit 2 ヒット , 最終更新: 5年前 areSpecific()
*/
@Override
protected void prepareSpecific() throws Exception {
IDat... earDownHook()
*/
@Override
protected void tearDownHook() throws Exception {
IDataba implement2 @study:java:sharepointonline 2 ヒット , 最終更新: 2週間前 * @throws RuntimeException
*/
public static void setUpProvider() throws RuntimeException {
/*
... er
//set default SecureRandom
private static void setDefaultDrbg() {
EntropySourceProvider _ent syntax @wiki 1 ヒット , 最終更新: 20カ月前 tput.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.println( struts @study:java 1 ヒット , 最終更新: 15年前 m|RequestProcessor.class]]
<code java>
protected void processContent(HttpServletRequest request, HttpSe adapter @study:java:design_pattern 1 ヒット , 最終更新: 17年前 return enum.nextElement();
}
public void remove(){
throw new UnsupportedOperation iterator @study:java:design_pattern 1 ヒット , 最終更新: 17年前 return true;
}
}
public void remove(){
if(position <= 0){
thr